Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



CIL code in .NET platform

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 30-12-2010
Member
 
Join Date: Dec 2010
Posts: 39
CIL code in .NET platform
  

I just read and went through a threads created in your technical forum and was very glad to find a lot of thread related to programming and software development, I too had a doubt regarding the theoretical part of the . NET language , I am still not getting how does a . NET language supports supports a number of language under single platform , so does it convert the code of a particular language in a code and then execute it or something else, I would appreciate your valuable views and guidance on this question.

Reply With Quote
  #2  
Old 30-12-2010
Member
 
Join Date: May 2009
Posts: 532
Re: CIL code in .NET platform

You just said that you visited our forums and witnessed a lot of threads that were related with programming stuffs and software development, so you would have visited a thread that said something about the common language run time, that helps mostly to all the .Net language to have a common platform and work harmoniously , I too think that there it converts the code of the remove language into a native code mostly called as CIL code, but I am not exactly aware how it happens, but I am quite sure that it converts the source code into a CIL code.
Reply With Quote
  #3  
Old 30-12-2010
Member
 
Join Date: Apr 2009
Posts: 483
Re: CIL code in .NET platform

Common Intermediate Language had changed its name , because before to this it was called as Microsoft Intermediate Language or and in short as MSIL is the least -level programming language that is readable by a human describe by the Common Language Infrastructure requirement and .NET Framework and Mono make use of it . Languages which aim a CLI-compatible runtime environment compile to this bytecode , which is assembled into intermediate code CIL is an object-oriented assembly language, and is exclusively stack-based. The byte code is then is run on a a virtual machine. This Virtual machine too play a key role.
Reply With Quote
  #4  
Old 30-12-2010
Member
 
Join Date: May 2009
Posts: 531
Re: CIL code in .NET platform

CIL was initially called as Microsoft Intermediate Language (MSIL) throughout the beta releases of the .NET languages. When C# language was standardized along with the standardization of the Common Language Infrastructure, the bytecode that was being produced with the help is now formally called as CIL.During compilation of .NET programming languages, the source code is translated into CIL code instead of platform or processor compliant object code. CIL is a CPU- and and does not actually rely on the any platform , collection of instructions that can be run on any platform that supports the Common Language Infrastructure, named as .NET runtime on the native platform such as Windows, or the cross-platform Mono runtime. In theory, this remove the requirement to give out separate binaries for diverse environments and CPU types. CIL code is confirmed for security during runtime, giving better security and dependability than natively compiled codes .
Reply With Quote
  #5  
Old 30-12-2010
Member
 
Join Date: May 2009
Posts: 617
Re: CIL code in .NET platform

You can follow the given execution process :
  • The code generated by the source is transformed to Common Intermediate Language, CIL's correspondent to Assembly language for a CPU.
  • CIL is then accumulated into bytecode and a .NET assembly is generated .
  • After .NET assembly is executed , its bytecode is passed through Common Language Runtime's JIT compiler to generate native code. (Ahead-of-time compilation eliminates this step at run time.)
  • Then the execution of the native code takes place .
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "CIL code in .NET platform"
Thread Thread Starter Forum Replies Last Post
Can we use 12GB RAM on an X58 platform? Affy Motherboard Processor & RAM 5 24-03-2012 12:47 PM
Do you like to see the Adobe AIR on WP7 Platform? Diedrick Portable Devices 4 08-02-2012 02:30 AM
What is the best blogging platform? Shiraj Technology & Internet 10 29-12-2011 09:29 PM
which platform is better for Brink? Jay-Esh Video Games 3 10-05-2011 02:28 PM
JIT compiler for .NET platform VAIJAYI Software Development 6 17-01-2011 10:11 PM


All times are GMT +5.5. The time now is 02:16 AM.