Dynamic Language Runtime Announced

| by Jonathan Allen Follow 335 Followers on May 01, 2007. Estimated reading time: 2 minutes |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

Microsoft has announced that they are building an extension to the Common Language Runtime called the Dynamic Language Runtime (DLR). This extension is being designed to enable interoperability between dynamic languages in the same manner that the CLR enabled interoperability between statically typed languages.

Currently the biggest problem with dynamic language interoperability is the lack of a unified object model. Even when running on the same underlying platform like the CLR or JVM, each dynamic language had to independently extend the type system to support modifying classes at runtime. These implementations are inherently incompatible, making it difficult or impossible for languages like IronPython and RubyCLR to share objects.

The Dynamic Language Runtime offers a shared dynamic type system that should eliminate the barriers between Ruby and Python on the CLR platform. In theory, objects can be freely shared between programs written in each language.

In addition to the dynamic type system, the DLR project intends to offer other functionality for making it easier to develop new languages and port existing ones to the CLR. Jim Hugunin's write

The DLR is about giving you the best experience for your language - true to the language, excellent tools, performance and seamless integration with a wealth of libraries and platforms. The essential benefits of the DLR are about sharing. It lets language implementers share standard features rather than rebuilding them from scratch. This lets them focus on the features that make a given language unique rather than on reinventing yet another GC system.

Jim also lists the four dynamic languages that will initially be built on the DLR. Once these are complete and the platform stabilized, Microsoft intends to work with other language developers that wish to target the DLR.

Microsoft has mentioned that VB was going to adopt more dynamic features, but it never before hinted that it would approach the level of Python or Ruby. What this means for the language is still unknown.

It is important to note that the DLR is being released as open source. This is very good news for the Mono team, as Miguel de Icaza explains.

The release for the DLR is done under the terms of the Microsoft Permissive License (MsPL) which is by all means an open source license. This means that we can use and distribute the DLR as part of Mono without having to build it from scratch. A brilliant move by Microsoft.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Not sure if I like this by W Watson

Given that part of MS strategy is to imbue switching costs into any standard that they adopt (see the book "the keystone strategy" for details), I'm not sure if I like the direction this might take ...

Re: Not sure if I like this by Jonathan Allen

I think the switching cost is obvious. Once your Ruby application starts taking advantage of the BCL, or perhaps a Python library, switching back to pure Ruby will be very painful.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you