Understanding the Microsoft Intermediate Language
page 5 of 12
by Joydip Kanjilal
Feedback
Average Rating: 
Views (Total / Last 10 Days): 51599/ 62

The Just In Time Compiler (JIT)

The JIT compiler compiles the IL into native code which is then executed by the processor. This MSIL is a platform-independent Intermediate Code that all programs written in languages targeting the .NET Runtime are converted into. The platform independence stems from the fact that all programs written in any .NET Runtime compliant language are compiled to this intermediate code. This is the same for all flavors of the .NET compiler as they target the .NET Runtime and not the host Operating System. However, it should be noted that as with Java's JVM and JIT, we have to have different implementations of the CLR or JIT depending on the platform on which our application would be executed. The .NET Runtime (CLR) is responsible for compiling this intermediate code (MSIL or IL in short) to native code using the Just in Time Compiler (JIT). Note that each block of the MSIL code needs to be Jitted only once and the portion of the source code that is never called is never Jitted. The JIT handles the following:

·         Ensuring type safety and handling violations appropriately

·         Optimizations

·         Assembly Verification


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-23 5:02:33 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search