BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

MacRuby 0.5 Released, Debugger To Come in 0.6

by Werner Schuster on Feb 01, 2010 |

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.

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.

Tell us what you think

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

Email me replies to any of my messages in this thread

benchmarks? by Roger Pack

Any benchmarks like...how fast it runs sinatra?
-r

Feature Roadmap by Ingo Vietense

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

-- devylon
blog.devylon.com

Re: Feature Roadmap by Shimon Amit

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

3 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT