Skip to content
EntityQ3041988· pop 8· linked from 220 articles

Dynamic Language Runtime

Sign in to save

Also known as DLR

system Platform

Source code

The Dynamic Language Runtime enables language developers to more easily create dynamic languages for the .NET platform. In addition to being a pluggable back-end for dynamic language compilers, the DLR provides language interop for dynamic operations on objects. The DLR has common hosting APIs for using dynamic languages as libraries or for scripting in your .NET applications. This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct. The best way to install the DLR is through the NuGet DynamicLanguageRuntime package. The best current documentation is in the docs/ directory, in Word and PDF format (it was a Microsoft project, after all). If you have any questions, open an issue, even if it's not an actual bug. The issues are an acceptable discussion forum as well. You will need to have Visual Studio 2022 17.14.26 or later (Windows only) and .NET 10.0 SDK installed on your machine. Engineering build assets such as framework props and CI templates live under eng/. Since the main development is on .NET, Mono bugs may inadvertently be introduced — please report them!

Excerpt from the source-code README · 3,051 chars · not written by Vinony

Article · Français

Le Dynamic Language Runtime (DLR) est une surcouche facilitant l'implémentation et l'interopérabilité des langages dynamiques. Le DLR permet de prendre en charge plusieurs langages. Cette technologie est utilisée par Microsoft pour la plateforme .NET et Oracle pour le langage Java. Le CLR de Microsoft est l'équivalent de la machine virtuelle Java (JVM). Le CLR ne gère que les langages propres à Microsoft tandis que le DLR de Microsoft a été créé pour prendre en charge d'autres langages. Oracle suit la même politique d'ouverture en ajoutant à sa JVM un DLR nommé (en) permettant la gestion d'autres langages que Java. Le terme JVM devient donc inapproprié. Des langages tiers avaient déjà été portés sur la JVM en reprenant la syntaxe de langages existants. La raison principale des DLR est de faciliter le portage de langages tiers ; il est en effet très difficile de faire fonctionner un code dynamique (Python, Ruby) sur un environnement qui est typé lors de la compilation. Le portage d'un langage sur le DLR est donc plus facile que sur le CLR.

Abstract from DBpedia / Wikipedia · CC BY-SA

Available in 8 languages

via Wikidata sitelinks · CC0