Common_Language_Runtime

By Wikipedia


The Common Language Runtime (CLR) is the virtual machine component of Microsoft's .NET framework and is responsible for managing the execution of .NET programs. In a process known as just-in-time compilation, the compiled code is converted into machine instructions that, in turn, are executed by the computer's CPU.[1] The CLR provides additional services including memory management, type safety and exception handling. All programs written for the .NET framework, regardless of programming language, are executed by the CLR. It provides exception handling, garbage collection and thread management. CLR is common to all versions of the .NET framework.

The CLR is Microsoft's implementation of the Virtual Execution System (VES) as defined in the Common Language Infrastructure (CLI) standard, initially developed by Microsoft itself. The Common Language Infrastructure specification is now defined by a public standard.[2]

The CLR converts CIL (Common Intermediate Language) to native code.
Overview of the Common Language Runtime release history[3]
CLR version .NET version
1.0 1.0
1.1 1.1
2.0 2.0, 3.0, 3.5
4 4, 4.5

Benefits[edit]

The runtime provides the following benefits:

  • Performance improvements.
  • The ability to easily use components developed in other languages.
  • Extensible types provided by a class library.
  • Language features such as inheritance, interfaces, and overloading for object-oriented programming.
  • Support for explicit free threading that allows creation of multithreaded, scalable applications.
  • Support for structured exception handling.
  • Support for custom attributes.
  • Garbage collection.
  • Use of delegates instead of function pointers for increased type safety and security. For more information about delegates, see Common Type System.

See also[edit]

External links[edit]

References[edit]

  1. ^ Common Language Runtime (CLR), [1], 13:31, 14 November, 2013
  2. ^ ECMA C# and Common Language Infrastructure Standards, [2], 13:31, 14 November, 2013
  3. ^ http://msdn.microsoft.com/en-us/library/8bs2ecf4(v=vs.110).aspx
Do you want to build a website?
Start Here

Our Guidelines:

  • Reliability
  • Professionalism
  • Innovation