Geeks Talk

Prepare for your Next Interview




What is Common Language Runtime

This is a discussion on What is Common Language Runtime within the VB.NET forums, part of the Software Development category; The common language runtime (CLR) is the foundation upon which developers construct various kinds of applications. The benefits of the CLR are many. It makes for a vastly simplified development. ...


Go Back   Geeks Talk > Software Development > VB.NET

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-17-2006
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 6 Times in 4 Posts
GeekAdmin is on a distinguished road
What is Common Language Runtime

The common language runtime (CLR) is the foundation upon which developers construct various kinds of applications. The benefits of the CLR are many. It makes for a vastly simplified development. It enables a seamless integration of code written in different languages. It provides evidence-based security with code identity. The assembly based deployment eliminates the problems of DLL. The versioning of reusable components makes for ease of usage. The implementation inheritance feature enables the reuse of code. The automatic object lifetime management makes the application- development comfortable. The self descriptive nature of objects makes for ease of programming and debugging.

CLR includes both private and shared components. It provides for incremental download of code and caching; native platform interoperability and seamless integration with COM. It offers dynamic inspection capabilities, administration and configuration options. The developer is not required to know all the runtime supported infrastructure. The tools and frameworks are designed to expose a subset of the functionality in accordance with the kind of application being built.

The common language runtime is a virtual execution system that provides important services such as memory management, security and also has a Just-in-Time compiler (JIT) which converts the intermediate language (IL) into native code that can be executed by the physical machine. The infrastructure provides a machine independent environment for application execution.

Tight security is maintained in implementing common language runtime. Managed components are awarded varying degrees of trust. Access rights are determined by factors such as origin of the component (Internet, enterprise network, or local computer). On the flip side this restricts access to file and registry operations, even if the file being operated upon is on within the same active application.

The managed environment of the runtime eliminates many common software issues. For example, the runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors--memory leaks and invalid memory references.

The futuristic design of the infrastructure is takes into consideration the need to integrate with the legacy applications that are still in operation.

Interoperability between managed and unmanaged code enables developers to continue to use necessary COM components and DLLs.

The use of ‘Common type’ system implements the features of the .NET infrastructure. The common data types shared by multiple languages such as VB.NET, C#, ASP.NET eases the import of a class created in one language into another. A common error handling facility makes for tighter integration between languages and allows developers the freedom of working in the language of their choice.

Last edited by admin : 05-17-2006 at 11:51 PM.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-05-2007
Contributing Member
 
Join Date: May 2007
Location: bangalore
Posts: 65
Thanks: 3
Thanked 8 Times in 6 Posts
hari.nattuva is on a distinguished road
Re: What is Common Language Runtime

Hi,

Common Language Runtime one of the services of .NET Framework. It will provide the security for the managed code, it will contain several services like assembly loader, assembly resolver, type checker, exception handler, just-in-time compiler.

Regards,
hari prasad
Reply With Quote
  #3 (permalink)  
Old 06-19-2007
Junior Member
 
Join Date: Jun 2007
Location: chennai
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
karuppannan is on a distinguished road
Re: What is Common Language Runtime

clr is common language runtime is uesd to convert higerlevel language into intermediate language and then it is converted to lowlevel language by jit compiler
Reply With Quote
  #4 (permalink)  
Old 06-19-2007
Contributing Member
 
Join Date: Jun 2007
Location: Bangalore
Posts: 32
Thanks: 3
Thanked 20 Times in 5 Posts
vcyogi is on a distinguished road
Re: What is Common Language Runtime

Just think.. You have big company like microsoft you have many products like vb,vc++,etc.. You want to accumuate all the language codings into a one product for this reason, the microsoft releases the .net environment to achive the interoperability. Using the clr you can use different language dlls and codings in one environment. The clr converts all the different language codings to msil(microsoft intermediate language).and again using the jit complier the msil is compile to the native code.
Reply With Quote
Reply

  Geeks Talk > Software Development > VB.NET


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
What is Microsoft Intermediate Language (MSIL) GeekAdmin C# 3 02-07-2007 05:59 PM
C Language - The Preprocessor Lokesh M C and C++ 1 06-17-2006 07:41 AM
What is .NET Framework Architecture GeekAdmin VB.NET 0 05-16-2006 12:30 PM


All times are GMT -4. The time now is 01:45 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved