What is Microsoft Intermediate Language (MSIL)
MSIL are simple binary structures that are similar to the instruction sets of the CPU. Like the instruction set, it encodes a wide spectrum of operations such as loading, storing, arithmetic and logical operations and control flow. The similarity to the machine code enables the code to be compiled quickly in the Just in time compiler. The type verification also becomes simpler because the DotNet binary contains tables of metadata. The metadata defines each type and its signatures and also the other data that the runtime locates and extracts from the file at the time of execution. The presence of the metadata makes the module self descriptive and eliminates the need for IDL files and header files. However, unlike the CPU instruction set, MSIL expresses object oriented concepts such as object creation, method invocation, property access and exception handling.
It is the Microsoft Intermediate Language (MSIL) which makes applications language independent. Applications may be created by programmers in any language of their choice—ASP.NET or VB.NET—in a machine on which the .NET framework has been installed. The compiler then, gives an output in the Microsoft Intermediate language. This language can be defined as a kind of assembly language at a higher level of abstraction. The language is designed in a manner that makes it possible to convert it into any kind of native machine code with ease. The CLR detects the Intermediate language and invokes the Just-in-time compiler to convert the language into machine code.
Re: What is Microsoft Intermediate Language (MSIL)
That was pretty good breifing about MSIL. Never knew about it before :)
Re: What is Microsoft Intermediate Language (MSIL)
are set of binary operations that contains the operations, loading and structure like a CPU.
It expresses Object Oriented concepts such as object creation, menthod invocation property access and exception handling.
Re: What is Microsoft Intermediate Language (MSIL)
Re: What is Microsoft Intermediate Language (MSIL)
Microsoft Intermediate Language (MSIL) is a platform independent language that gets compiled into platform dependent executable file or dynamic link library.
Re: What is Microsoft Intermediate Language (MSIL)
Hi,
[B]MSIL[/B]-Microsoft Intermediate Language.
In .Net,the source code is complied with the respective compiler for eg,if source code is written in C#,then it is compiled with csc compiler, if it is VB,then with vbc complier. While compilation it won't produce machine code directly,instead it will produce an intermediate code called as MSIL. This intermediate code is then converted to native code with JIT(Just-In -Time compiler).
Hope tis helps......
Re: What is Microsoft Intermediate Language (MSIL)
As we know that in java when we compile the source unit sample.java then sample.class file creates like that in .net when we compile sample.cs then it will create a MSIL code sample.exe.After this it goes to the virtual execution system(ves) to create a native code.
Re: What is Microsoft Intermediate Language (MSIL)
<%@Page language="cs" ..........%> is the page tag which is available in all asp.net pages if you are using C#.net to code that perticular page.Here in this example while running the page C# compiler will compile the page generate a dll.If you open that dll using ILDASM you can see the content of assembly i.e, MSIL code.MSIL is nothing but the compiled code which CLR can only understand.Hope this helps you.
Re: What is Microsoft Intermediate Language (MSIL)
Gr8 help by geek interviews...