John Lam 1997 — 2026

New developments in Ruby to .NET integration

There are a couple of new projects in the Ruby / CLR space that I should point to:

1) Wilco Bauwer who’s working on IronRuby.

2) Pascal Hurni who’s working on Brite.

IronRuby looks pretty impressive. He has interface implementation and simple inheritance scenarios working. The interop cases seem to work pretty well.

There are a lot of corner cases to getting this stuff to work correctly though, and it’s very hard to match the semantics of the CLR implementation with the original language. It’s one thing to play semantic games at an interop boundary – it’s another thing altogether to play those same games in the language. To see just how nasty this can get, take a look at what the IronPython team had to do with respect to value type semantics.

I hope one of these guys succeeds in making this happen. Then I can move onto working on the project I really want to make happen – RubyCLR is merely a means to an end :)

3 archived reader comments

Rene (2006-06-06)

IronRuby seems impressive, but one problem with that approach (if I understood it correctly) is that the Ruby interpreter needs to be adapted for the CLR, which seems to be quite hard work.

What I like about RubyCLR is the portability it enables. I can use the .Net bindings to create GUI specific code, which would be the only bit that needs to be rewritten on other platforms.

By the way, will there be a fourth drop? I was looking through your blog, and can’t find any newer versions than the third.

John Lam (2006-06-08)

There will be fourth drop this weekend. I’m up to my eyeballs in my day job this week, but it’s mostly ready to go - it just needs some attention to packaging right now.

Hang in there!

Jake (2006-06-14)

check out Ruby.Net as well http://www.plas.fit.qut.edu.au/rubynet/