Common Language Runtime

Virtual machine component of Microsoft's .NET framework
(Learn how and when to remove this template message)
Program execution
General concepts
  • Code
  • Translation
    • Compiler
      • Compile time
    • Optimizing compiler
  • Intermediate representation (IR)
  • Execution
    • Runtime system
      • Runtime
    • Executable
    • Interpreter
    • Virtual machine
Types of code
  • Source code
  • Object code
  • Bytecode
  • Machine code
  • Microcode
Compilation strategies
  • Ahead-of-time (AOT)
  • Just-in-time (JIT)
  • Precompilation
  • Transcompilation
  • Recompilation
Notable runtimes
Notable compilers & toolchains
  • v
  • t
  • e

The Common Language Runtime (CLR), the virtual machine component of Microsoft .NET Framework, manages the execution of .NET programs. Just-in-time compilation converts the managed code (compiled intermediate language code) into machine instructions which are then executed on the CPU of the computer.[1] The CLR provides additional services including memory management, type safety, exception handling, garbage collection, security and thread management. All programs written for the .NET Framework, regardless of programming language, are executed in the CLR. All versions of the .NET Framework include CLR. The CLR team was started June 13, 1998.

CLR implements the Virtual Execution System (VES) as defined in the Common Language Infrastructure (CLI) standard, initially developed by Microsoft itself. A public standard defines the Common Language Infrastructure specification.[2]

During the transition from legacy .NET technologies like the .NET Framework and its proprietary runtime to the community-developed .NET Core, the CLR was dubbed CoreCLR.[3] Today, it is simply called the .NET runtime.[4]

Overview of the Common Language Runtime release history[1]
CLR version .NET version
1.0 1.0
1.1 1.1
2.0 2.0, 3.0, 3.5
4 4, 4.5, 4.6, 4.7, 4.8

See also

References

  1. ^ a b "Common Language Runtime (CLR)". MSDN Library. Retrieved 14 November 2013.
  2. ^ "ECMA C# and Common Language Infrastructure Standards". Visual Studio Developer Center. Retrieved 14 November 2013.
  3. ^ "Understanding .NET Framework, .NET Core, .NET Standard And Future .NET". www.c-sharpcorner.com. Retrieved February 1, 2021.
  4. ^ ".NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps". GitHub. Retrieved November 5, 2023.

External links

  • v
  • t
  • e
.NET
Implementations
Architecture
Components
Tools
Obfuscators
Decompilers
Misc
IDEs
Organizations
  • Category
  • List
  • Commons
  • v
  • t
  • e
Architecture
Components
Implementations
Microsoft
Other
Languages
Major languages
Other
Comparison
Authority control databases Edit this at Wikidata
International
  • FAST
  • VIAF
National
  • France
  • BnF data
  • Israel
  • United States