In-Depth

Microsoft Calls on the Ruby Community

If you're confused about Microsoft's stance on open source, it will get more interesting this month. The company is planning to release a pre-alpha version of the source code for its .NET implementation of Ruby as a hosted project on RubyForge by the end of August. "What we're really interested in doing is getting contributions back into the libraries," says John Lam, creator of the open source RubyCLR, who joined Microsoft as a program manager in January. "So our release on RubyForge is explicitly so that the community can help us."

RubyForge is a popular hosting site for open source Ruby projects and it makes sense to put the project there, according to Lam, because developers check their code in and out of Subversion, a widely used open source repository. Microsoft's shared source code site, CodePlex, is based on Team Foundation Server, which isn't readily accessible to the open source Ruby community.

Dynamic Language Plans IronRuby is the second .NET implementation from Microsoft that's based on an open source dynamic language. The first, IronPython, which shipped in August 2006, was developed to run directly on the .NET 2.0 Common Language Runtime (CLR). Announced at MIX07, along with Silverlight 1.1 for .NET, IronRuby is designed to take advantage of Microsoft's upcoming Dynamic Language Runtime (DLR), a set of services on top of the CLR. Microsoft plans to build four dynamic language implementations -- IronRuby, IronPython, Dynamic Visual Basic (VB 10) and Managed JScript.

"The main reason we're not accepting contributions back into the [IronRuby] compiler is that the interfaces between the compiler and the DLR haven't been finalized and probably won't be for about a year," explains Lam. "The DLR itself is going to ship along with the next version of the CLR, so we want to make sure that from an IP standpoint we're very clean on that stuff."

Limited Availability When the DLR is finalized, Microsoft will "fully open up" the IronRuby compiler on RubyForge to get contributions back, he adds. There are no plans right now for Visual Studio tooling due to a lack of resources. Lam has been approached by several people who are interested in doing Visual Studio integration as part of the open source work on the project. His standard response: "If you guys want to go off and do some of that work, it would be fantastic."

All of the IronRuby source code will be released under a Microsoft Permissive License. Contributors will need to sign a standard contributors' agreement, and the code will be available for commercial and non-commercial use.

Currently, there are no plans to release the IronRuby source code on CodePlex, though IronPython and some DLR bits are on CodePlex under a Microsoft Permissive License.

In another Ruby .NET development, SapphireSteel Software released the first beta of its Ruby Connector, a plug-in for its Visual Studio 2005 extension Ruby in Steel. With the connector, developers can create "visual front-ends" for their Ruby programs using the Visual Studio form designer, enabling Visual Basic or C# to call Ruby classes, variables and methods. The connector will be integrated in Ruby in Steel 1.2 when it ships, and is available now to registered users.

About the Author

Kathleen Richards is the editor of RedDevNews.com and executive editor of Visual Studio Magazine.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube