CLR is an unified environment for all the languages in .NET means there is no difference in writing code as VB.NET , C#.NET, VJ#.NET, PERL.NET,COBOL.NET,MANAGED C++.NET,.....
I would like to give a small scenario how CLR works:
Java programmers can compile their source like
java source ==> Java Compiler ==> Byte Code ==> JVM ==> Executable Code
ex.java ==> javac ==> ex.class ==> JVM ==> binary code
Now the byte code here is called as Intermediate code which can run 0n any OS .
In the same way
c# code vb code vj# code perl.net code
c# compiler vb compiler vj compiler perl compiler
INTERMEDIATE CODE (CIL) : common intermediate language
CLR
JIT Compilation
EXECUTABLE CODE
here the Intermediate code in the source for CLR which gives the binary code.
The main components in CLR as follows:
Class Loader, IL to native compiler, code manager, Garbage Collector, security engine, debug engine, type checker, exception manager, Thread management, COM marshaler.
the part of JIT Just-in-Time compiling is part of IL to native compiler.
Tuesday, July 1, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment