18.2. The Role of the Dynamic Language Runtime (DLR)

Now that you better understand what "dynamic data" is all about, let's learn how it is processed. With the release of .NET 4.0, the Common Language Runtime (CLR) has a complementary runtime environment named the Dynamic Language Runtime (DLR). The concept of a 'dynamic runtime' is certainly not new. In fact, many programming languages such as Smalltalk, LISP, Ruby and Python have used them for years. In a nutshell, a dynamic runtime allows a dynamic language the ability to discover types completely at runtime with no compile time checks.

If you have a background in strongly typed languages (including C#, without dynamic types) the very notion of such a runtime may seem undesirable. After all, ...

Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.