Virtual machine component of Microsoft's .NET framework
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
This article may rely excessively on sources too closely associated with the subject, potentially preventing the article from being verifiable and neutral. Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources.(March 2019) (Learn how and when to remove this message)
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Common Language Runtime" – news · newspapers · books · scholar · JSTOR(September 2014) (Learn how and when to remove this message)
(Learn how and when to remove this 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)
Tracing just-in-time
Compile and go system
Precompilation
Transcompilation
Recompilation
Notable runtimes
Android Runtime (ART)
BEAM
Common Language Runtime (CLR) and Mono
CPython and PyPy
crt0
Java virtual machine (JVM)
LuaJIT
Objective-C and Swift's
V8 and Node.js
Zend Engine
TempleOS
Notable compilers & toolchains
GNU Compiler Collection (GCC)
LLVM and Clang
MSVC
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
^ ab"Common Language Runtime (CLR)". MSDN Library. Retrieved 14 November 2013.
^"ECMA C# and Common Language Infrastructure Standards". Visual Studio Developer Center. Retrieved 14 November 2013.
^"Understanding .NET Framework, .NET Core, .NET Standard And Future .NET". www.c-sharpcorner.com. Retrieved February 1, 2021.
^".NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps". GitHub. Retrieved November 5, 2023.
and 21 Related for: Common Language Runtime information
The CommonLanguageRuntime (CLR), the virtual machine component of Microsoft .NET Framework, manages the execution of .NET programs. Just-in-time compilation...
instructions are executed by a CIL-compatible runtime environment such as the CommonLanguageRuntime. Languages which target the CLI compile to CIL. CIL is...
(ECMA 335) that describes executable code and a runtime environment that allows multiple high-level languages to be used on different computer platforms without...
behaviors of a programming language. During execution (run time) of that computer program, execution of those calls to the runtime library cause communication...
intended to be run. The name comes from the compile time and runtime division from compiled languages, which similarly distinguishes the computer processes involved...
the managed code languages C# and Visual Basic (.NET) (VB.NET). WinRT is not a runtime in a traditional sense but rather a language-independent application...
which runs on a VM called the CommonLanguageRuntime. All of them can serve as an abstraction layer for any computer language.[citation needed] A special...
1968 Plain Old CLR Object, term used by developers targeting the CommonLanguageRuntime of the .NET Framework POCO C++ Libraries, collection of open-source...
based virtual machine is the CommonLanguageRuntime. The original specification for the bytecode verifier used natural language that was incomplete or incorrect...
programming language, and Microsoft's C# programming language, which has open implementations of most parts of the system, also has CommonLanguageRuntime (CLR)...
oriented languages are interoperable thanks to their shared hosting virtual machine (e.g. .NET CLI compliant languages in the CommonLanguageRuntime and JVM...
multi-lingual runtimes such as the Microsoft CommonLanguageRuntime, where a common "substrate" is provided which enables any CLR-compliant language to use...
SQL CLR or SQLCLR (SQL CommonLanguageRuntime) is technology for hosting of the Microsoft .NET commonlanguageruntime engine within SQL Server. The SQLCLR...
the spirit of Haskell Fantom, a language built from the base to be portable across the JVM, .NET CommonLanguageRuntime (CLR), and JavaScript Flix, a functional...
old class object (POCO) is a simple object created in the .NET CommonLanguageRuntime (CLR) that is unencumbered by inheritance or attributes. This is...
establishes the rules by which assemblies form scope for a type, and the CommonLanguageRuntime enforces the visibility rules. The CTS defines the rules governing...
databases. Microsoft SQL Server 2005 uses the SQLCLR (SQL Server CommonLanguageRuntime) to host managed .NET assemblies in the database, while prior versions...