MacRuby 0.5 final is out


After going through two betas, MacRuby 0.5 final is now released and can be downloaded by clicking on the icon below:


MacRuby 0.5

Don’t worry about having MacRuby and Ruby 1.8.x or 1.9 installed, MacRuby is namespaced and won’t affect your current Ruby installations, just download and launch the installer. (Note: The build was compiled for SnowLeopard only)

You can read all the details of the release on the MacRuby website.

So what changed since 0.4? Too many things for me to list them here but basically 0.5 uses LLVM to compile code and make MacRuby faster and integrate better with the Obj-c runtime. However since the last beta, here is what changed:

  • HotCocoa is now a separate gem
  • improved AOT compilation
  • Grand Central Dispatch support – use all your cores without the pain of threads. Read this post for more info.

0.5 is a solid release which I consider production ready, I personally wrote a few of small Cocoa apps in MacRuby and everything has been working very well. Of course, I’m also excited about the new stuff in 0.6 trunk like the debugger previewed a few weeks ago: http://merbist.com/2010/01/18/how-to-detect-cylons-with-macruby/ but also some drastic changes in the primitive classes that I might cover later on.

Finally, people are asking if the iPad will be able to run apps running in MacRuby. Unfortunately, the current answer is: no. The two issues with the IPhone/iP*d OS are the lack of Garbage Collector and support for BridgeSupport (needed to define CocoaTouch constants available from MacRuby). However, this matter is being discussed on the mailing list and progress is made by contributors (the core team primarily focusing on the desktop).

That is going to be an exciting Ruby week as MacRuby 0.5 is now out and Rails 3 beta/RC0 is expected really soon.


Similar Posts
  1. #1 by dk - February 1st, 2010 at 08:21

    does it work on linux?

    • #2 by Matt Aimonetti - February 1st, 2010 at 09:43

      No, not yet but if some volunteers work on porting it, there are no reasons why it would not work. However, it’s not part of the core team’s schedule.

      • #3 by roger - February 4th, 2010 at 15:18

        It could become much more popular if it did…

        • #4 by Matt Aimonetti - February 4th, 2010 at 15:26

          Let’s get it working very well on OSX first and then we’ll see about other OS port. Remember that it’s an Apple project, I doubt they would invest money in doing the port, they probably want to fix their own problems first ;)

  2. #5 by Mark - February 1st, 2010 at 09:33

    Rails 3 beta is expected this week?

    • #6 by Matt Aimonetti - February 1st, 2010 at 09:43

      yes, hopefully today or tomorrow.

Comments are closed.