Facilitating the spread of knowledge and innovation in professional software development



Choose your language

InfoQ Homepage News MacRuby 0.5 Released, Debugger To Come in 0.6

MacRuby 0.5 Released, Debugger To Come in 0.6


MacRuby 0.5 has been released (Download link for binaries and source).  After a few MacRuby betas, the final release comes with a new VM, threading without a Global Interpreter Lock (GIL), Grand Central Dispatch (GCD) support and much more.

The MacRuby 0.5 status update lists a few of the improvements, eg the AOT compiler macrubyc:

AOT compiler is more stable, supports compilation of multiple Ruby files into shared/dynamic libraries. It is also documented in a manpage, be sure to check it out for a detailed list of options and some use case examples.

MacRuby 0.5 added a Ruby API for Grand Central Dispatch (GCD), Snow Leopard's new API for accessing system wide thread pools by scheduling lightweight tasks. A tutorial for MacRuby's GCD API is available and explains basic concepts behind GCD. For details about the implementation, gcd.c, contains the code that maps GCD APIs to Ruby classes.

Meanwhile, work on MacRuby 0.6 has already started. One item on the feature list of 0.6 is already available: MacRuby debugger support (GitHub commit for the Debugger implementation). The commit shows which files were added and which were modified to support the debugging implementation and the debugger frontend which uses the MacRubyDebuggerConnector to set breakpoints and control execution.

Matt Aimonetti has written up an overview of the MacRuby debugger and how to use it from the command line.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • benchmarks?

    by Roger Pack,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Any benchmarks fast it runs sinatra?

  • Feature Roadmap

    by Ingo Vietense,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    ... where can I find a feature roadmap for the 0.6 release? Is there any progress to run MacRuby on the iPhone ?

    -- devylon

  • Re: Feature Roadmap

    by Shimon Amit,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Looks like MacRuby will only work on the iPhone once it (the iPhone) gets a garbage collector.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.