DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   

What is the difference between CLR and DLR in C#?

By Abhishek Choubey on 27 Nov 2020 | Category: C# | Tagged: C# .NET 
  Discuss Add Comment   |  
Add rating Rate this resource   

 What is DLR?
  • DLR is a runtime environment that adds a set of services for dynamic languages to the CLR.
  • DLR makes it easier to develop dynamic languages to run on .net framework and give them .net interoperability.
  • DLR introduces dynamic objects in C#
  • DLR helps you create libraries that support dynamic operations
  • Examples of languages developed by using DLR is IronPython,IronRuby etc.
What is CLR?
  • As part of the Microsoft  .NET Framework, the Common Language Runtime (CLR) is the programming (Virtual Machine component) that manages the execution of programs written in any language that uses the .NET Framework, for example C#, VB.Net, F# and so on.
  • Programmers write code in any language, including VB.Net, C# and F# when they compile their programs into an intermediate form of code called CLI in a portable execution file (PE) that can be managed and used by the CLR and then the CLR converts  it into machine code to be will executed by the processor.
  • The information about the environment, programming language, its version and what class libraries will be used for this code are stored in the form of metadata with the compiler that tells the CLR how to handle this code.
  • The CLR allows an instance of a class written in one language to call a method of the class written in another language.
  Discuss Add Comment    
Add rating Rate this resource   
About the Contributor
Member Since : 19 Nov 2020
Member Points (Level) : 120  (Newbie)
Location : INDIA
Home Page :
About :
Rate this resource
 
Add your Comment
Name Email WebSite
Captcha Refresh


Comments (0)
No comments found, click here to add comment.
 
cheap jordans|wholesale air max|wholesale jordans|wholesale jewelry|wholesale jerseys