Taking Multilanguage to the Next Level

Although the infrastructure provided by the CLR to facilitate static typing accommodates a lot of programming languages on the platform, it doesn’t suffice to satisfy the needs of dynamically typed languages like JavaScript, Python, Ruby, and so many more.

From day one, the need for discovery of operations at runtime has been recognized, so the CLR provides a variety of services that provide those facilities. At the heart of this feature set lies reflection, or the ability to discover information about types and their members at runtime. Reflection is not enough, though, to facilitate all the requirements for dynamic programming languages. Let’s take a quick peek at common needs that such languages have: ...

Get C# 5.0 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.