Tuesday, 26 January 2021

What is CLR (Common Language Runtime) in DotNET (.Net) Framework | Clcoding

The CLR (Common Language RunTime) :

  • Is the foundation of the .NET Framework.
  • Acts as an execution engine for the .NET Framework.
  • Manages the execution of programs and provides a suitable environment for programs to run.
  • Provides a multi-language execution environment.

The following figure shows a more detailed look at the working of the CLR:

 

Just in time (JIT) compiler converts MSIL to native code, which is CPU specific code.

When a code is executed for the first time;

⟶ The CIL ( COMMON INTERMEDIATE LANGUAGE ) code is converted to a code native to the operating system.

⟶ This is done at runtime by the Just-In-Time (JIT) compiler present in the CLR.

⟶ The CLR converts the CIL code to the machine language code.

⟶ Once this is done, the code can be directly executed by the CPU.

0 Comments:

Post a Comment

Codecademy Code Foundations

Popular Posts

Categories

Android (23) AngularJS (1) Assembly Language (2) Books (10) C (75) C# (12) C++ (81) Course (1) Data Strucures (4) Downloads (1) Engineering (13) flutter (1) FPL (17) Hadoop (1) HTML&CSS (40) IS (25) Java (89) Leet Code (4) Pandas (2) PHP (20) Projects (19) Python (434) R (69) Selenium Webdriver (2) Software (14) SQL (27)