Proper Definition of JIT? Does JIT also have types?

Proper Definition of JIT?

The source code is compiled into its CIL code. Then the CIL code is taken by the CLR. Read the complete working of CLR and IL code in my previous blog ".NET FRAMEWORK".
The CLR then transfer the managed code to JIT. JIT at run-time convert the code into user machine specific code. And when we double click on the IL Code the JIT convert it into machine which is actually getting executed according to the client machine configuration.


How does it compile code?



JIT compilation converts MSIL to native code on demand at application run time, when the contents of an assembly are loaded and executed. Because the common language runtime supplies a JIT compiler for each supported CPU architecture, developers can build a set of MSIL assemblies that can be JIT-compiled and run on different computers with different machine architectures. However, your managed code will run only on a specific operating system if it calls platform-specific native APIs, or a platform-specific class library.
The compilation of code can be done in three ways: 

Comments

Popular posts from this blog