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

  • How to Fix Rails Flash Rendering When Using Hotwire
  • Hotwire Fix for CORS Error when using Omniauth
  • Fix Installation of Ruby using rbenv on macOS Big Sur
  • RailsConf 2021 and the Future of Conferences
  • Fixing Out of Diskspace Errors on Amazon EC2

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Exactly this…. https://t.co/yWj7fZ01HR
    about 1 day ago
  • https://t.co/EmagdpLoNv "Introducing GitHub Copilot X · GitHub"
    about 2 days ago
  • RIP Gordon Moore: https://t.co/c5J9LaHrj8
    about 2 days ago
  • Our daughter works as a teaching assistant at a local K-8 public school. It’s become apparent that students today r… https://t.co/p2t912GVyc
    about 2 days ago
  • Working to wrap up my current consulting gig by mid-April. I will be looking for the next thing soon. If anyone has… https://t.co/sg3cSV9yqM
    about 3 days ago
  • RSS - Posts
  • RSS - Comments
Find me on Mastodon