By lrz
via andymatuschak.org
Published: Sep 15 2008 / 13:00
A few days ago, MacRuby 0.3 was released. If you haven’t heard about it before, MacRuby is an implementation of Ruby 1.9 running directly on top of the Objective-C runtime and CoreFoundation. So when you type [4, 5, 6], you get an NSArray. And you can make calls to Cocoa like "/Users/andym/Desktop".pathComponents. Sweet.
Version 0.3 is a huge improvement: it provides Interface Builder support; it makes Ruby calls with the Obj-C message dispatcher (a huge speed boost); and it supports RubyGems. But most interestingly, it includes a new layer called HotCocoa.
HotCocoa is a layer of mappings on top of common Cocoa classes to make them simpler and to put them in line with idiomatic Ruby.
Add your comment