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

Describe how to implement globalization and localization in the use interface in .net.

569


Define authentication and authorization.

623


Explain advantages of caching?

534


Can you set the session out time manually?

388


What parameters can you pass in the url of the api? Can get and post use the same url?

560






What is asp.net web pages?

532


What is the life-span of the items in the viewstate?

505


What is a Cookie? Where is it used in ASP.NET?

615


How does a content page different from a master page?

582


Differentiate between authentication and authorization.

565


Is global asax mandatory?

559


Explain the benefits of viewstate?

590


What is difference between view and partial view?

510


What is redirectpermanent in asp.net?

616


What does passport and windows authentication mean in ASP.NET?

653