Groups | Blog | Home
all groups > dotnet jscript > july 2003 >

dotnet jscript : jscript.NET compilation question


Geiregat Jonas
7/9/2003 7:22:45 PM
I'm asking myself when you compile a jscript.NET app.
richiem NO[at]SPAM online.microsoft.com
7/9/2003 10:06:52 PM
Just like VB.NET or C#, a JScript.NET application is compiled down to an
assembly. The assembly is either a command line executable or a library
(if compiled with the /t:library switch). In .NET, assemblies are made up
of low level code, almost in the same was as a native executable is made up
of machine code. The difference is that native executables are machine
dependant and when disassembled the result is native Assembly language,
..NET executables are not machine dependent and when disassembled the result
MSIL code.

When a JScript.NET program is run, the assembly is then quickly converted
into native instructions (using whatever optimizations are available for
the platform the program runs on).

If you want to see the insides of compiled program you can always use the
disassembler (ildasm.exe) provided by Microsoft, it's in the SDK directory.

MSIL: Microsoft Intermediate Language - in simplest terms this can be
thought of as a machine independent assembly language.

--------------------
[quoted text, click to view]
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!kibo.news.demon.net!demon!newshub1.home.nl!home.nl!skynet.be!skynet.be!
louie!tlk!not-for-mail
[quoted text, click to view]


--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
AddThis Social Bookmark Button