InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

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

Posted by Werner Schuster on Mar 12, 2009

Sections
Development
Topics
Runtimes ,
Ruby ,
Scripting ,
Dynamic Languages
Tags
Apple ,
Ruby1.9

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.

No comments

Watch Thread Reply

Educational Content

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?