Microsoft’s Dynamic Language Runtime (DLR) is a platform for working dynamic languages reminiscent of Ruby and Python on an equivalent footing with compiled languages akin to C#. moreover, the runtime is the root for plenty of worthy software program layout and structure ideas you could practice as you boost your .NET purposes.
Pro DLR in .NET 4 introduces you to the DLR, displaying how one can use it to put in writing software program that mixes dynamic and static languages, letting you opt the appropriate device for the activity. you'll examine the middle DLR elements similar to LINQ expressions, name websites, binders, and dynamic objects—and how they interact to accomplish language interoperability. You’ll see find out how to mix'n'match items and services from compiled and dynamic languages, so that you can write code within the language of your selection whereas making the most of libraries written in different languages. and you can detect how a few of the languages interoperate backstage.
With the fundamentals out of ways, the publication then info some of the methods you could leverage the DLR within the layout and structure of your software program purposes. You’ll find out about runtime code iteration, which allows you to steer clear of a lot of the boilerplate code standard in layered company functions. You’ll see useful examples of utilizing the DLR to construct domain-specific languages, and you’ll learn the way the DLR is helping permit aspect-oriented programming.