> C# -> compiles to MSIL -> loaded into CLR -> interprets & validates code > then uses JIT compiler to create native code.
What is i understand is slight variation. C# code -> compiles to MSIL -> JIT Compiler -> Managed native code -> loaded into CLR -> Executes Managed Native On demand of code. This means an additional layer(CLR) of code optimization. All objects/modules are not executed by CLR, only code needed by the program/User is executed and they say...this means less overhead and code will execute even faster than a traditional C++ program. >The other important difference - as I understand > it - is that MSIL is compiled on demand before execution whereas Java > ByteCode can be interpreted or compiled, in other words, the difference is > in how aggressive the Java JIT compiler is (does it compile everything or > only 'critical' / oft-used pieces?). "Java ByteCode can be interpreted *or* compiled" Are you talking about eg(IBM's version) Java Compiler, where you can complie Java code straight to native code(just like C++) and NO interpretation. I might be wrong but from what i understand Bytecode is *always* interpreted by JIT Compiler before it is executed. Joe ----- Original Message ----- From: "Sean A Corfield" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 3:53 PM Subject: Re: Jsp Vs Cfm (CFMX) -- Test Code > On Friday, September 20, 2002, at 10:46 , Joe Eugene wrote: > > True, *similar*(concept) emphasized, then the CLR plays a big role in code > > execution.. translating MSIL into native code.. *AS Needed*.. > > > The main difference is that Java ByteCode was designed as the *portable* > target for Java whereas MSIL was designed as a (fairly) proprietary target > for multiple languages. > > Should MSIL/CLR be inherently more efficient than Java ByteCode/JVM? Maybe. > The former was designed to target one runtime architecture (although it > is fairly abstract). The latter was designed to target multiple > architectures. The JIT compilation - in both cases - to the target > architecture's machine code should generally level out that playing field. > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

