InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Microsoft announces IronRuby

Posted by Werner Schuster on Apr 30, 2007

Sections
Development
Topics
Scripting ,
Dynamic Languages ,
.NET Framework ,
Ruby ,
.NET
Tags
RubyCLR ,
IronRuby ,
Languages ,
CLR
At their MIX07 conference Microsoft has just announced IronRuby, a Ruby implementation running on the .NET CLR. In this, IronRuby is similar to JRuby on the Java VM, and must not be confused with tools like Ruby/.NET Bridge which only connect a Ruby interpreter with a .NET VM.

Jim Hugunin, developer of IronPython, a Python version that runs on .NET, provides some more information on the technology underlying IronRuby, IronPython and a few other dynamic languages:
The new Dynamic Language Runtime (DLR) adds a small set of key features to the CLR to make it
 dramatically better.  It adds to the platform a set of services designed explicitly for the needs
 of dynamic languages.  These include a shared dynamic type system, standard hosting model and support
 to make it easy to generate fast dynamic code.  With these additional features it becomes dramatically
 easier to build high-quality dynamic language implementations on .NET.  More importantly, these features
  enable all of the dynamic languages which use the DLR to freely share code with other dynamic languages
  as well as with the existing powerful static languages on the platform such as VB.NET and C#.
He also points out that the source for IronPython and the new DLR are available.
 

An official Microsoft Ruby version has been expected by observant members of the Ruby community. One indication was John Lam, creator of Ruby.CLR and now at Microsoft, who went on forums such as ruby-core, asking detailed questions about the behavior of Ruby and some of it's standard libraries.  

This hit home with JRuby's Charles O. Nutter who is behind the effort to get get a proper specification for Ruby. He has long ago started the Ruby Spec Wiki and tries to encourage community involvement in this project. Another effort is worked on in two Google SoC sponsored projects to to define Test Suites that can specify the behavior of Ruby using RSpec, a Ruby framework for "executable specs".

This is obviously very important for every Ruby implementation, such as JRuby, Rubinius or IronRuby, because it's essential to know what behavior and functionality to implement. The behavior of most of Ruby's libraries and features is currently only documented in their implementation code.

In light of this, Charles O. Nutter encourages Microsoft to join the effort:
We hope they[Microsoft] will join us in helping to build a community spec for Ruby and a common set of  open-source compatibility tests.
Asked for a general comment on Microsoft joining the Ruby space, Charles O. Nutter says:
It's good to see Microsoft has also seen the potential of Ruby, and that they're getting started on their own Ruby implementation. It validates the time and effort we've put into JRuby, and helps emphasize the importance of Ruby and other dynamic languages on the JVM.

         
 
Does this means the product is available? by Jorge Domenico Bucaran Romano Posted
Re: Does this means the product is available? by Werner Schuster Posted
  1. Back to top

    Does this means the product is available?

    by Jorge Domenico Bucaran Romano

    Hello, does this announcement means that the product is available in full form? I downloaded a package but it seems to be like a beta/testing product.

  2. Back to top

    Re: Does this means the product is available?

    by Werner Schuster

    IronRuby isn't available yet. What you can download is a new version (plus source) of IronPython at codeplex.com/IronPython

    IronRuby should become available in the next few months, although it's not clear how complete it will be and how compatible it will be to Ruby 1.8.x.

Educational Content

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?

Wrap Your SQL Head Around Riak MapReduce

Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.