So, What About Rubinius

September 29th, 2007 by Pat Eyler

Your rating: None Average: 3 (3 votes)

Rubinius is important. A whole lot of folks agree. Ola Bini wrote up a whole post about how important he thinks it is. In it, he writes:

In fact, I’m getting more and more convinced that for the people that don’t need the things Java infrastructure can give you, Rubinius is the most important project around, in Ruby-land. More than that, Rubinius is MRI done right. If nothing substantial changes in the current timeline and plans for Ruby 1.9.1, I predict that Rubinius will be the CRuby implementation of choice within 6 months. Rubinius is an implementation done the way MRI should have been.

He also lays out a number of reasons that he feels this way:

  • It is byte code based. This means it’s easier to handle performance.
  • It has a pluggable, very clean architecture, meaning that for example garbage collection/object memory can be switched out to use another algorithm.
  • It is designed to be thread safe (though this is not really true yet), and Multi-VM capable.
  • It works with existing MRI extensions.
  • Most of the code is written in Ruby.
  • It gives you access to all the innards, directly from your Ruby code (stuff like MethodContexts/BlockContexts, etc).
  • The project uses Valgrind to ensure that the C code written is bullet proof.

The meme that rubinius matters has also spread to Sun, who sponsored the recent Rubinius Sprint in Denver. Tim Bray who arranged the sponsorship wrote about why Sun would do this:

Ruby isn’t finished. It’s a great substrate for Rails, it’s immensely useful for building all sorts of things, but it’s not fast enough. I agree with Avi Bryant’s argument that a language isn’t finished until it’s fast enough to extend itself. Frankly, none of the language enhancements proposed for Ruby 2.0 make my heart go pitter-patter. But give me a Ruby with performance as good as a really good Smalltalk VM, and the space of things for which you need statically-typed languages shrinks to a really uninteresting size.

Except for, nobody including me is smart enough to predict which of the Ruby.next implementations is going to have that performance mojo. So, it seems like the only reasonable thing is to bet on all of ’em. One thing that makes this easy is that all the teams get along with each other; a natural outgrowth of Ruby culture, and something from which we can all learn.

Ezra Zygmuntowicz and EngineYard think that Rubinius is important enough to have started hiring Rubinius developers.

I’m really stoked about this. I think rubinius has so much potential that I am really happy to be able to support it. Starting next month Evan Phoenix is going to be working here at EY half time on ey tools and such and half time on rubinius.

The sprint itself went very well. Evan Phoenix, Wilson Bilkovich, and Brian Ford (the core rubinius developers) met with Charlie Nutter (one of the core JRuby developers) for some intensive Rubinius hacking. Brian and Wilson have both written about the experience. Evan joined them in an interview. In the interview, Evan talked about the goals and outcome of the sprint:

[We wanted] to see how we rubinius work would progress in this kind of environment. I was extremely pleased how it went. The 4 of us really tackled things well, and working in a collaborative atmosphere really sped things up. I was also happy to be right there to transfer knowledge of some of the interior of the VM to other developers. That knowledge is more difficult to grasp than almost anything else in rubinius, but probably the most important.

__________________________

--
-pate
http://on-ruby.blogspot.com


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Health Service's picture

heath service

On June 20th, 2009 Health Service (not verified) says:

Rubius is very much reliable as it uses Valgrind to help verify correctness. This is also perfect for companies to protect their files.

dunk's picture

rubinius

On June 2nd, 2009 dunk (not verified) says:

I used to love Ruby, I really did. That was until I found Rubinius. :):)

Anonymous's picture

linux

On May 9th, 2009 Anonymous (not verified) says:

Rubius is very much reliable as it uses Valgrind to help verify correctness. This is also perfect for companies to protect their files.

baron's picture

Nice article,thanks

On January 31st, 2009 baron (not verified) says:

Rubinius is Really User Friendly. It also is a very readable one for the convenience of its users. Thanks

Dating Tips's picture

Thanks

On December 27th, 2008 Dating Tips (not verified) says:

Rubinius provides a very reliable code, I highly recommend this to anyone. I was impressed with its high performance!

lightbulb's picture

Great piece of news - when

On September 30th, 2008 lightbulb (not verified) says:

Great piece of news - when is it going to become standard on hosting platforms?

PPC Classroom 2's picture

Rubinus or Rails

On September 30th, 2008 PPC Classroom 2 (not verified) says:

Is rubinus meant to be an addon or a replacement for rails ?

Guadagnare Online's picture

Lnux

On September 15th, 2008 Guadagnare Online (not verified) says:

Lets whait and see

thx!

Anonymous's picture

Great Innovation!

On April 17th, 2008 Anonymous (not verified) says:

One thing I notice is the Rubinius uses pluggable feature. It has garbage collectors and code optimizers. It means that the object memory can be shifted to another algorithm, which makes it great!

Pogi's picture

Rubinius makes things easy

On April 17th, 2008 Pogi (not verified) says:

This is very easy to handle because it uses codes that are byte-based. The code also uses a very readable one for the convenience of its users. It can be easily understood by anyone!

Lara's picture

This is intended for to be thread-safe--Rubinius

On April 17th, 2008 Lara (not verified) says:

Rubinius is created to be thread-safe. This is also highly embeddable and uses codes that is very much dependable.

Bradd's picture

Hmm, this is what I can call something innovative!

On April 17th, 2008 Bradd (not verified) says:

Rubius is very much reliable as it uses Valgrind to help verify correctness. This is also perfect for companies to protect their files.

Belle's picture

It works with other MRI extension! Rubinius is great!

On April 17th, 2008 Belle (not verified) says:

The good thing about Rubinius is that it is highly adaptable, it works with other exising MRI extensions.

Ernest's picture

How amazing this is!

On April 17th, 2008 Ernest (not verified) says:

Rubinius provides a very reliable code, I highly recommend this to anyone. I was impressed with its high performance!

konstantin's picture

Rubinius is very easy to use.

On April 17th, 2008 konstantin (not verified) says:

I was very impressed with the way Rubinius works. It has a readable and clean code that will provide easy use for its users.

Lil Wayne's picture

Linux

On April 8th, 2008 Lil Wayne (not verified) says:

I used to love Ruby, I really did. That was until I found Rubinius. :P

Tomelloso2's picture

Great post. A question. Why

On March 29th, 2008 Tomelloso2 (not verified) says:

Great post. A question.
Why are there so many different implementations that run Ruby code? I haven’t read about the others, such as Cardinal, so I still don’t know.

Thanks.

RV's picture

Ruby...

On February 14th, 2008 RV (not verified) says:

Rubinius has so much potential and I for one, am excited about it!

Kadir's picture

i'm looking for the finished

On January 9th, 2008 Kadir (not verified) says:

i'm looking for the finished version of ruby,thanks for your information

Idea Guy's picture

Great article

On January 1st, 2008 Idea Guy (not verified) says:

Thanks for this interesting article. I am not a programmer, but i wish to learn about Rubinius.

web hosting provider's picture

Rubinis is definitely

On December 21st, 2007 web hosting provider (not verified) says:

Rubinis is definitely important

Thomash's picture

Linux Info

On December 18th, 2007 Thomash (not verified) says:

Thanks for this information very helpful on tuning up my knowledge of linux

Kenneth's picture

Good news

On December 18th, 2007 Kenneth (not verified) says:

I am really looking forward to the release. Coding in ruby always sounds interesting;but that's much technical stuff to handle

Tom Colleges's picture

Release

On December 11th, 2007 Tom Colleges (not verified) says:

When is the expected release date of Rubinius?
Code written in Ruby you say, will it be as fast as C++?

Regards,
Tom Colleges

caballosweb's picture

Rubinius seems very

On December 11th, 2007 caballosweb says:

Rubinius seems very interesting, if only from the angle of what it can teach us about Ruby herself.

I really enjoyed Evan's talk at RubyConf. He bites off scary (to me) chunks of this project and then just chips away at them with really innovative techniques.

Rubinius seems to have a nice focus on exposing interpreter details to the running program as well. I can't claim to understand all of it, but it really looks like it could take concepts like reflection and metaprogramming to new heights.

Definitely a project to keep an eye on...

Bnsc's picture

Rubinius

On December 9th, 2007 Bnsc (not verified) says:

Thanks for a great article. Looks like Rubinius is the way to go and we will see how the development goes.

hayalbahcesi's picture

expected release

On December 31st, 2007 hayalbahcesi (not verified) says:

When is the expected release date of Rubinius?

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

July 2009, #183

News Flash: Linux Kernel 3.0 to include an on-the-go Expresso machine interface! Ok, maybe not, but Linux is definitely going mobile, from phones to e-readers. Find out more inside about Android, the Kindle 2, the Western Digital MyBook II, The Bug, and Indamixx (a portable recording studio). And if you've gone mobile and you been wanting more Emacs in your life then check out Conkeror.


To compliment the mobile we've got the stationary: parsing command line options with getopt, checking your Ruby code with metric_fu, and building a secure Squid proxy. How is this stationary you ask? What can we say? It's not. We just wanted to see if anybody actually read this part of the page :) .


All this and more, and all you have to do is get your hot sweaty hands on the latest copy of Linux Journal.





Read this issue