Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

IronRuby 1.0 Released: Microsoft’s 3 Years With Ruby Pay Off

By Peter Cooper / April 14, 2010

Three years after Microsoft first announced it was dipping a toe into the Ruby implementation waters, IronRuby 1.0 has been released. IronRuby is Microsoft's attempt at bringing Ruby natively to the DLR that runs on top of .NET (and Mono), and with version 1.0, it has finally reached maturity with Jimmy Schementi calling it the "first stable version."

IronRuby 1.0 is available to download in two different forms - a .NET 4.0 Windows installer or ZIP file, and a .NET 2.0 SP1 Windows installer or ZIP file. The .NET 4.0 version has faster startup times and is more feature complete (in terms of .NET integration) but the .NET 2.0 SP1 version will run on the Mono cross-platform, open source .NET platform.

The IronRuby team are pushing stability and maturity as big themes for the 1.0 release. Their progress is certainly encouraging. As of today, IronRuby passes 85.95% of RubySpec (as opposed to MRI Windows Ruby's ruby.exe score of 97.84%) with most of the gap in the library tests. IronRuby does particularly well with the language tests (98.31% pass vs 99.89% for ruby.exe). IronRuby promises Ruby 1.8.6 compatibility (mostly) and supports Rails 2.3.5.

We recently presented a walkthrough of using IronRuby and Silverlight to get Ruby in the Web browser and did an interview with IronRuby developer Jimmy Schementi so we're not going to go into detail here - check out those posts for more in-depth IronRuby knowledge.

New snippets that may also be of interest include an article on using FlexMock with C# types and a demo of how to embed Ruby files in a .NET assembly using embedded resources. The latter is particularly interesting as it allows Ruby source to be encoded and hidden away not only from other developers, but cranky sysadmins ;-)

Thanks to David Lake for help with this post.

Comments

  1. Ry Walker says:

    I'm sorry but I see this as Microsoft getting Ruby 1.8.6 done right as 1.8 is retired in favor of 1.9, and as Rails 2.3 is retired in favor of Rails 3.0 - how are they doing on Ruby 1.9 and Rails 3 compatibility?

  2. Mark says:

    @Ry, 1.8 is still being maintained and is the primary target of Jruby as well. Rails 3 is yet to be released so to say that Rails 2.3.5 is being retied is being disingenuous. Rails 3 will be awesome when it hits.

    The questions are still good questions tho, what is the roadmap for hitting Ruby 1.9 & Rails 3 compat?

  3. Sohan says:

    I have linked your post at the Drink Rails blog.

  4. Shay Friedman says:

    As I understanc, the next major version of IronRuby will focus on 1.9 compatibility.

Other Posts to Enjoy

Twitter Mentions