Page 2 of 2

Re:C#

Posted: Thu Dec 04, 2003 7:07 am
by Perica
..

Re:C#

Posted: Thu Dec 04, 2003 8:36 am
by gedeon
Yes .NET compile into a sort of bytecode, CIL = Common Intermediate language. In fact .Net produce Assembly
An assembly contains metadata, CIL code and resources.

The CIL is interpreted by the CLR Common Language Runtime ( a kind of virtual mavhine)

The CLI is the Common Language Infrastructure
An ECMA standard
http://www.ecma-international.org/publi ... ma-335.htm

Re:C#

Posted: Thu Dec 04, 2003 9:48 am
by Tim
IL (CIL or MSIL) isn't necessarily interpreted -- the Microsoft CLR compiles MSIL to native code either on installation, the first time the assembly is loaded, or each time the assembly is loaded. For instance, the Visual Studio debugger shows you x86 machine code disassembly, not IL instructions.

Re:C#

Posted: Thu Dec 04, 2003 10:23 am
by gedeon
An .exe produced by .Net does not contain native code, for all .net language.
Only the JIT produce native code, in the debugger the JIT is used.