Thread: Common Language Runtime

  1. #1
    Registered User
    Join Date
    Nov 2001

    Common Language Runtime

    Im doing a report on C# and im just wondering what is the CLR? is that the compiler?

  2. #2
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    When you compile your code in .NET, a PE file is created. The PE file contains several things including dll's, .exe's, a manifest, metadata, 'however' the dll's and exe's are not binary dll's and .exe's, instead they are made from an intermediate language. It doesn not matter what language you use, either VB.NET, C#, Managed C++, they all are translated into the exact same Intermediate Lanuage code because they are all designed to meet the specification of the Common Type system. When you actually run your program a Just In Time Compiler converts the Intermediate Language PE files into binary executables line by line as it reads the intermediate language code into binary code for that specific operating system. The Common Language Runtime than I believe is the intermediate state where the PE file exists and the dll's and exe's are in the intermediate language state.

    If you go to search fo the .NET Shows. There is a two hour show on the Common Language Runtime that you can download and watch. There are also about 10 other movies about various aspects of .NET. They are very good.

    I definately don't know all the details because I have only studied .NET in my spare time. They don't teach it in College.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to handle multiple cases which use common code?
    By tmaxx in forum C Programming
    Replies: 3
    Last Post: 10-03-2008, 07:42 AM
  2. Which Language? need help ASAP
    By jcw122 in forum Tech Board
    Replies: 7
    Last Post: 03-07-2005, 04:16 PM
  3. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  4. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  5. Common lang runtime debugging service giving me problems
    By datainjector in forum C# Programming
    Replies: 3
    Last Post: 08-04-2003, 06:03 AM