Microsoft adds open-source twist to Silverlight

Microsoft has added dynamic language support to Silverlight and given developers access to the source code

Microsoft has broadened the developer base and programming capabilities for Silverlight by adding dynamic language support to an alpha version of the browser plug-in technology.

The support includes a new runtime for the .Net framework, the Dynamic Language Runtime (DLR), and an implementation of the popular Python programming language, called IronPython.

Microsoft also made the source code for these new technologies available through the company's most open source-code license, the Microsoft Permissive License. This allows developers and users to view, modify and redistribute source code for either commercial or non-commercial purposes, and also to charge a license fee for any code they've added to the software.

Both the DLR and IronPython are available on CodePlex, Microsoft's site to host open-source projects. The IDG News Service reported last week that Microsoft would release the source code for some of Silverlight, a cross-platform browser plug-in similar to Adobe Systems's Flash player to deliver multimedia content on the web.

By adding the DLR to the .Net framework implementation in Silverlight, Microsoft is adding cross-platform support for dynamic language programming in .Net, says Keith Smith, a product manager for Microsoft.

The move marks the first time Microsoft is offering support for the .Net framework on a platform other than Windows, he says. However, this support is only available through Silverlight, Smith says.

Dynamic languages, such as Python and Visual Basic, execute behaviour at runtime that other programming languages execute when the code is compiled. According to Smith, developers use these languages because they are familiar with them and can use them for rapid prototyping. One drawback to these languages, he says, is that it's difficult to catch errors at development time that would appear when code is compiled.

Microsoft also plans to include an implementation of the popular Ruby development language, which it is calling IronRuby, in Silverlight at an unspecified date. IronRuby also will be available on CodePlex, Smith says.

The inclusion of the .Net framework in Silverlight, also announced Monday, means developers can write .Net code for delivery through Silverlight. This will make those applications more stable and also allows Microsoft to tap into the millions of developers that use the .Net environment, says Forest Key, a Microsoft director of product management.

The DLR and IronPython are part of the Silverlight 1.1 alpha release, which is available on the Silverlight website. However, the 1.0 Silverlight beta version released Monday does not include them, Smith says.

Join the newsletter!

Error: Please check your email address.

Tags silverlightdeveloperMicrosoftadobe

Show Comments

Market Place

[]