Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

You are here: Home / IronRuby / IronRuby is out, Built and Running

IronRuby is out, Built and Running

July 24, 2007 by Rob Bazinet

Tweet

I have been working with Ruby for quite some time now and every time I hear of new things out I like to try them out.  Most of the time it is the latest gem or technique but this time the news comes from Microsoft.

John Lam and his group at Microsoft released a source code drop of IronRuby, which is a version of Ruby running on the CLR.  IronRuby is promised to give us all the power and compatibility of Ruby 1.8.6 with all the goodness of the .NET 2.0 Runtime and beyond.

IronRuby is an open source project and will end up on RubyForge but for now is available as a download from John’s blog.  So, I downloaded, unzipped and ran the included Build.cmd and viola…

IronRubyBuild

It built in just under 3 seconds….

I went to my command prompt and to the release directory and ran the resulting rbx.exe and saw the familiar >>> of Ruby’s IRB.

I tested the Ruby implementation with a few commands just to see what resulted and everything I ran worked very well.  I didn’t do any work with using .NET classes, but I will.

One interesting item I noticed was this….can you see it?

IronRubyConsole

In Ruby, typing something like “Hello”.class returns a type String but in IronRuby you can see it returns MutableString which is an interesting distinction from .NET, who’s strings are immutable.   I like the attention to details like this.

I will be running some of my utility classes with IronRuby and throw together some samples that integrate to the CLR.  I will also report back what I find.  All-in-all, it looks pretty good.

Technorati Tags: IronRuby, Microsoft, .NET, Ruby

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Email
  • More
  • Pinterest
  • Tumblr
  • Pocket
  • Reddit

Related

Filed Under: IronRuby

Care about your privacy? I do and use Fathom Analytics on this site.

Fathom Analytics

Comments

  1. John Lam says

    July 25, 2007 at 5:28 am

    I’m glad that it worked well for you out of the box! The MutableString reporting will change to just String in the future. But if you look in the MutableString.cs file, you’ll see that our implementation is currently built around a .NET StringBuilder. In the future, it will evolve further, and become a byte array for maximum compatibility with Ruby 1.8.x.

  2. Rob Bazinet says

    July 25, 2007 at 8:01 am

    Yes, I noticed it was built around StringBuilder, very nice. I thought that would be the implementation going forward but the byte array is an interesting approach.

    Is there a public timeline for future releases and feature completeness with Ruby 1.8.6?

Recent Posts

  • Status Bar in iTerm2
  • Supporting Multiple SSH Keys on macOS
  • Using the Microsoft Ergonomic Keyboard on macOS
  • 10 Steps to Survive Working from Home
  • “Are you building a business or learning a stack?”

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Spending the evening working on some new Ruby on Rails code. As one with no life does on a Saturday night.
    about 9 hours ago
  • I have me daily hike listening scheduled. https://t.co/IpEMqk5KXk
    about 19 hours ago
  • I’ve been contemplating creating a newsletter for a long time. It would be for Ruby developers and highlight variou… https://t.co/zb3b4sF2yd
    about 19 hours ago
  • This! https://t.co/SYXR9eE9Ls
    about 20 hours ago
  • I’ve spent the last year working on a handful of Ruby on Rails enterprise applications. I’ve learned a ton and real… https://t.co/RHU1kbrlRq
    about 2 days ago
  • RSS - Posts
  • RSS - Comments
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.