What is JIT compiler in .Net and how it works?

Solution

JIT stands for Just in time compiler. JIT compiler converts the MSIL code to native executable code (.dll or .exe) which runs on the specific machine/computer. When we compile native .net code written in (C#, VB, F# or other language) using language compiler it produces MSIL code, which is further executed by the common language runtime. CLR invokes JIT compiler which reads the MSIL code and converts it to the native instructions for specific hardware or machine. As the name specifies just in time, JIT compiler only converts those part of the code which need to be executed.

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media