| Author: RamyaNaidu 07 Aug 2008 | Member Level: Silver Points : 2 |
The Common Language Runtime (CLR) is the virtual machine component of Microsoft's .NET initiative. It is Microsoft's implementation of the Common Language Infrastructure (CLI) standard, which defines an execution environment for program code. The CLR runs a form of bytecode called the Common Intermediate Language (CIL, previously known as MSIL -- Microsoft Intermediate Language).
Developers using the CLR write code in a language such as C# or VB.Net. At compile time, a .NET compiler converts such code into CIL code. At runtime, the CLR's just-in-time compiler converts the CIL code into code native to the operating system. Alternatively, the CIL code can be compiled to native code in a separate step prior to runtime. This speeds up all later runs of the software as the CIL-to-native compilation is no longer necessary.
Although some other implementations of the Common Language Infrastructure run on non-Windows operating systems, Microsoft's implementation runs only on Microsoft Windows operating systems.
The virtual machine aspect of the CLR allows programmers to ignore many details of the specific CPU that will execute the program. The CLR also provides other important services, including the following:
Memory management Thread management Exception handling Garbage collection Security
The Common Language Runtime.doc |
| Author: Sriram 05 Oct 2008 | Member Level: Gold Points : 2 |
Common Language Runtime is main Part of .Net Framwork.Common Language Runtime is a Set of Rules and Regulations The Code Controled by the CLR is called Managed Code,The Code Not controlled by the CLR is UnManaged code.
CLR has a set of Services calles
1) Garbage Collection. 2) Thread Management. 3) Code Verification. 4) Code Access Security. 5) Exception Handling. 6) Security.
Thanks SriramRamaswamy
|