Whats MSIL, and why should my developers need an
appreciation of it if at all?

Answer Posted / kirti

When compiling the source code to managed code, the compiler translates the source into Microsoft intermediate language (MSIL). This is a CPU-independent set of instructions that can efficiently be converted to native code. Microsoft intermediate language (MSIL) is a translation used as the output of a number of compilers. It is the input to a just-in-time (JIT) compiler. The Common Language Runtime includes a JIT compiler for the conversion of MSIL to native code.

Before Microsoft Intermediate Language (MSIL) can be executed it, must be converted by the .NET Framework just-in-time (JIT) compiler to native code. This is CPU-specific code that runs on the same computer architecture as the JIT compiler. Rather than using time and memory to convert all of the MSIL in a portable executable (PE) file to native code. It converts the MSIL as needed whilst executing, then caches the resulting native code so its accessible for any subsequent calls.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between table and query?

541


How do u deploy ur project?

2213


Which is better union or union all?

551


In order to get assembly info which namespace we should import?

516


What is difference between cookies and cache?

512






What is a query string in a url?

535


How can you identify that the page is post back?

546


What are tuples?

533


Write a code snippet to implement the indentation in json in web api.

571


How to change Master page in ASP.Net using code?

586


What is the difference between login controls and forms authentication?

537


What are the security types in ASP/ASP.NET? Different Authentication modes?

552


Is asp.net a programming language or framework?

543


List the events in page life cycle.

546


What is caching in asp.net?

558