Blog
    C#
    ADO.Net
    .NET
    ASP.Net & Web Forms
    Custom Controls
    Web Development
    Exception Handling
    XML
    Database
    Security in .Net
    Testing
    Web Services
    Windows Services
    Windows Controls
    WCF
    AJAX
    WPF
    XAML
    Reporting
    Setup
    VB.Net
    LINQ
    JQuery
    SilverLight
    JavaScript
    HTML5
    Crystal Report
    Cloud Computing
    Share Point
    Visual C++
    MVC
    Android
    PHP
    Java
    HTML
    WordPress
    Joomla
    Products
    Drupal
    Windows Phone
    JSON
    LightSwitch
    iPhone/iPad
    Ruby on Rails
    IIS 7
    Windows 8
    CSS/CSS3
    Excel
    MS Access
    Shortcut Keys
    Visual SourceSafe
    Team Foundation Server
    APIs
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Top Contributor
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
 

Home >> .NET >> CLR(Common Language Runtime)
CLR(Common Language Runtime)

.NET framework CLR Concept
Views: 808     Comments: 0
by Anurag Sharma on 10/7/2010

CLR (Common Language Runtime)

The Common Language Runtime (CLR) is a run time engine thatmanages .Net code (such as C# applications).It works as a layer betweenoperating system and the applications written in .net language. The mainfunction of CLR is to convert the manage code into the native code and thenexecute the program. The manage code compiled only when it needed, that is itconvert the appropriate instructions when each function is called.

Common Language Runtime’s main task is to convert the .NetManage code into native code, manage running code like a virtual Machine andalso control the interaction with the operating system.

 It Provides features such as…

*Memory Management

*Thread Management

*Type safety

*Security

*Robustness, Exception Handling

*code Management, Garbage Collection

Common Language Runtime:

                  Common Type system

Intermediate Language(IL)

To Native Code compilers

Execution Support

Security

           Garbage Collection, Code Manager

            Class Loader and Memory Layout

Working of CLR: When the .net program is compiled,the output of the compiler is not an executable file but a file that contains aspecial type code called the Microsoft Intermediate Language (MSIL now calledCIL, common intermediate Language). The CLR to translate this Intermediate codein to a executable code when the program is executed making the program to runin any environment for which the CLR is implemented. This MSIL is turned intoexecutable code using JIT (Just in Time) compiler. When .Net programs areexecuted, the CLR activate the JIT compiler. The JIT compiler converts MSILinto native code on a demand basis as each part of the program is needed. Thusthe program executes as a native code even through it is compiled into MSILmaking the program to run as fast as it is compiled to native code but achievesthe portability benefits of MSIL.

Title :  
Comment :
Text ColorBackground Color
BoldItalicUnderline
LeftCenterRightJustify
Ordered ListBulleted List
IndentOutdent
Horizontal Rule
SubscriptSuperscript
HyperlinkImage
Design ModeDesign
View HtmlHtml
       
 
Report Abuse Form
Reason:    
 
Latest ArticleRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Latest Blogs by Anurag SharmaRSS Feed
    
    
More...
Top Viewed ArticlesRSS Feed
    
    
    
    
    
    
    
    
    
    
Top Viewed BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
Latest Interview QuestionsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Total Online Users: 6632
  
Copyright © 2013MindStick. All Rights Reserved.