.Net IL ( Intermediate Language )
Intermediate Language In .Net Framework
Let just understand this by using an example-
Suppose we have to develop a Internet Video Downloader Application for a particular client.
Things to keep remember:
While developing and building we should know about the specification for the client machine.
- What type of computer he has?
- What type of Operating System (O.S.) use by them?
- What type of RAM he has?
- What type of process he has?
Because machine code completely dependent on the specification of the computer. A normal machine doesn't know about IL code or CSC code or VBC code it only and only understand machine language. And the developer is totally unaware of the client machine as both are at different locations. So it is not possible for any developer to tackle this problem. So, Microsoft introduces the concept CLR that is the execution engine for .NET application and it serve as the interface between Application and O.S. So, that's why the language compiler convert the source code into IL. This IL is taken by JIT (JUST IN TIME COMPILER). Wait... and see the Figure 4 to proceed and understood. Its the JIT who took the responsibility who convert the IL code into the machine code. Now this JIT at run-time convert the IL code into machine code which actually getting executed according to the client machine configuration. IL is also known as MSIL and CIL i.e., Microsoft Intermediate Language and Common Intermediate Language.