News:

Build a stunning handcrafted website with IT Acumens

Main Menu

CLR & MSIL - .Net

Started by sukishan, Jul 11, 2009, 03:11 PM

Previous topic - Next topic

sukishan

The Common Language Runtime (CLR):   

The heart of .net Framework is Common Language Runtime (CLR). All .NET-compliant languages run in a common, managed runtime execution environment. With the CLR, you can rely on code that is accessed from different languages. This is a huge benefit. One coder can write one module in C#, and another can access and use it from VB .Net. Automatic object management, the .NET languages take care of memory issues automatically. These are the few listed?benefits which you get from CLR.

Microsoft Intermediate Language (MSIL):

   So how can many different languages be brought together and executed together??Microsoft Intermediate Language (MSIL) or, as it?s more commonly known, Intermediate Language (IL). In its simplest terms, IL is a programming language.?If you wanted to, you could write IL directly, compile it, and run it. But why would want to write such low level code? Microsoft has provided with higher-level languages, such as C#, that one can use. Before the code is executed, the MSIL must be converted into platform-specific code. The CLR includes something called a JIT compiler in which the compiler order is as follows.

Source Code => Compiler => Assembley =>Class Loader =>Jit Compiler =>Manged Native Code=>Execution.

  The above is the order of compilation and execution of programs. Once a program is written in a .Net compliant language, the rest all is the responsibility of the frame work.
A good beginning makes a good ending

alenfort

- CLR Common Language Run time and it forms the heart of .NET. All languages have autonomy and responsibility to ensure that the run time code to run the program. CLR has been described as execution engine of .NET. This CLR that manages the program and provides an environment for programs.

- MSIL- Microsoft intermediate language is a language, it does not depend on the machine, very popular. You can use any high level. NET language compiler, such as C # or VB NET compiler to compile your. NET applications and get them into Microsoft Intermediate Language.