CLR vs JIT

前端 未结 7 1872

What is the difference between the JIT compiler and CLR? If you compile your code to il and CLR runs that code then what is the JIT doing? How has JIT compilation changed wi

7条回答
  •  盖世英雄少女心
    2020-12-04 06:37

    1. Common Language Runtime(CLR) is interpreter while Just In Time(JIT) is compiler in .Net Framework.

    2.JIT is the internal compiler of .NET which takes MicroSoft Intermediate Code Language (MSICL) code from CLR and executes it to machine specific instructions whereas CLR works as an engine its main task is to provide MSICL code to JIT to ensure that code is fully compiled as per machine specification.

提交回复
热议问题