Developer(s) | Laurent Sansonetti (Apple Inc.) |
---|---|
Final release | 0.12[1]
/ June 11, 2012 |
Repository | |
Written in | C, C++, Objective-C |
Operating system | Mac OS X |
Type | Ruby programming language interpreter and compiler |
License | Ruby License |
Website | www |
MacRuby is a discontinued implementation of the Ruby language that ran on the Objective-C runtime and CoreFoundation framework under development by Apple Inc. which "was supposed to replace RubyCocoa".[2] It targeted Ruby 1.9 and used the high performance LLVM compiler infrastructure starting with version 0.5. It supports both ahead-of-time and just-in-time compilation.
MacRuby supported Interface Builder and shipped with a core library called HotCocoa to simplify Cocoa programming. MacRuby was also used as an embedded scripting language for Objective-C applications.[3]
In May 2012, Laurent Sansonetti announced RubyMotion, a port of MacRuby for iOS, OS X and Android.[4]
Development on MacRuby effectively ended in late 2011, coinciding with the principal author's departure from Apple Inc. As of Jan 5 2015, The MacRuby project is no longer under active development;[5] MacRuby does not work on Mavericks, the team having shifted their focus to a commercial RubyMotion product for iOS and OS X.