BT

MacRuby 0.4 Released with HotCocoa::Graphics, Threaded GC, DTrace

by Werner Schuster on Mar 12, 2009 |

MacRuby, an Objective-C based Ruby implementation is now available in version 0.4.

Among the new features is an embedding API ("Runtime Objective-C API") which allows to use MacRuby for scripting the host application. InfoQ previously reported on the API.

HotCocoa (added in MacRuby 0.3), makes it easy to integrate with Cocoa frameworks, eg. for building GUIs. A new feature now is HotCocoa::Graphics:

Inspiration for this project was derived from Processing and NodeBox. These excellent Java- and Python-based graphics programming environments are mature and full-featured, but HCG offers similar functionality using the elegant Ruby programming language and the power of native graphics processing on Mac hardware.

Processing is a Java-based langage for visualization. _why's Ruby Shoes also offers similar visualization capabilities.


The HotCocoa::Graphics blog provides a list of sample code (complete with graphical output).

For performance matters, MacRuby 0.4 now runs the GC on a separate thread, and also includes DTrace probes, which among other things can report on GC activity (DTrace sample scripts for MacRuby).

Among other changes, MacRuby 0.4 comes with Ruby 1.9.1 libraries, 64 bit support, as well as improved integration with XCode.

MacRuby is now available for download.

Hello stranger!

You need to Register an InfoQ account or 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
Community comments

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

Discuss

Educational Content

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