Answer Posted / jasbir singh thakur
Common Language Runtime (CLR)
working of CLR:-
When the .NET program is compiled, the output of the
compiler is not an executable file but a file that contains
a special type of code called the Microsoft Intermediate
Language (MSIL), which is a low-level set of instructions
understood by the common language run time. This MSIL
defines a set of portable instructions that are independent
of any specific CPU. It's the job of the CLR to translate
this Intermediate code into a executable code when the
program is executed making the program to run in any
environment for which the CLR is implemented. And that's
how the .NET Framework achieves Portability. This MSIL is
turned into executable code using a JIT (Just In Time)
complier. The process goes like this, when .NET programs
are executed, the CLR activates the JIT complier. The JIT
complier converts MSIL into native code on a demand basis
as each part of the program is needed. Thus the program
executes as a native code even though it is compiled into
MSIL making the program to run as fast as it would if it is
compiled to native code but achieves the portability
benefits of MSIL.
| Is This Answer Correct ? | 20 Yes | 5 No |
Post New Answer View All Answers
What is global assembly cache (gac)?
What is econo-jit?
Explain about the ruby interface generator?
What is the role of new keyword?
Name the tool which can convert visual basic old version to .net compatibility version?
What is the ruby interface generator?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
What are the features of c# which are not present in vb.net?
Is vb.net a programming language?
What is intermediate langauge?
What is an assembly and its use?
Explain about delegate?
Explain about the keyword must inherit?
Explain the difference between web.config and machine.config and where it will be ?
What is the difference between c# and vb.net?