What is implicit compilation?

Technology CommunityCategory: .NET CoreWhat is implicit compilation?
VietMX Staff asked 3 years ago

Implicit Compilation is a two-steps process, and it requires a Virtual Machine to be able to execute your code.

  • The first step of the process is converting your program to a bytecode understandable by Virtual Machine. .NET bytecode is called Common Intermediate Language or CIL. It is also known as Microsoft Intermediate Language (MSIL) or just Intermediate Language (IL).
  • The second step is converting CIL code to a machine code running on metal. This is Virtual Machine’s task. Common Language Runtime (.NET Virtual Machine) converts only executed CIL fragments into CPU instructions at runtime. The .NET framework calls this compiler the JIT (Just-In-Time) compiler.