InfoQ

News

Microsoft announces IronRuby

Posted by Werner Schuster on Apr 30, 2007 11:59 PM

Community
.NET,
Ruby
Topics
.NET Framework ,
Scripting ,
Dynamic Languages
Tags
CLR ,
IronRuby ,
Languages ,
RubyCLR
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 May 2, 2007 2:43 PM
Re: Does this means the product is available? by Werner Schuster Posted May 3, 2007 9:55 AM
  1. Back to top

    Does this means the product is available?

    May 2, 2007 2:43 PM 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?

    May 3, 2007 9:55 AM by Werner Schuster

    IronRuby isn't available yet. What you can download is a new version (plus source) of IronPython at http://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

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.