MacRuby
{{Use mdy dates|date=October 2013}}
{{Infobox software
| name = MacRuby
| logo = MacRuby logo.png
| logo size = 260px
| screenshot =
| caption =
| developer = Laurent Sansonetti (Apple Inc.)
| latest release version = 0.12http://lists.macosforge.org/pipermail/macruby-devel/2012-June/008842.html MacRuby 0.12 release note
| latest release date = {{Start date and age|2012|06|11}}
| operating system = Mac OS X
| discontinued = yes
| platform =
| programming language = C, C++, Objective-C
| genre = Ruby programming language interpreter and compiler
| license = Ruby License
| website = {{URL|http://www.macruby.org/}}
}}
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".http://forums.pragprog.com/forums/76/topics/687#posts-4160 {{Webarchive|url=https://web.archive.org/web/20100402104046/http://forums.pragprog.com/forums/76/topics/687#posts-4160 |date=April 2, 2010 }} Discussion of MacRuby as a replacement for RubyCocoa 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.http://www.infoq.com/news/2008/10/macruby-embedding Embedding MacRuby For Application Scripting
In May 2012, Laurent Sansonetti announced RubyMotion, a port of MacRuby for iOS, OS X and Android.[http://www.rubymotion.com/about/ RubyMotion - About]. RubyMotion.com. Retrieved July 20, 2012.
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;[https://github.com/MacRuby/MacRuby/blob/master/README.rdoc Readme.rdoc]. Github.com. Retrieved February 12, 2015. MacRuby does not work on Mavericks, the team having shifted their focus to a commercial RubyMotion product for iOS and OS X.
History
MacRuby was originally called "ruby+objc"http://chopine.be/lrz/diary/2007-12-07_ruby-objc-Part-1.html {{Webarchive|url=https://web.archive.org/web/20071213105919/http://chopine.be/lrz/diary/2007-12-07_ruby-objc-Part-1.html |date=December 13, 2007 }} Developer Laurent Sansonetti first discusses "ruby+objc" (which became MacRuby) on his blog and was developed by Laurent Sansonetti, who began work on it in late 2007. In March 2008, the first publicly available version, MacRuby 0.1, was announced on the official RubyTalk forum.http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/294485 Ruby-Talk: MacRuby 0.1 announcement Version 0.2 was released in June 2008, and implemented Ruby strings, arrays and hashes as native Cocoa types.{{cite web|url=http://www.macruby.org/post/44/ |title=MacRuby |accessdate=2008-10-25 |url-status=dead |archiveurl=https://web.archive.org/web/20081030024300/http://www.macruby.org/post/44/ |archivedate=October 30, 2008 }} MacRuby 0.2 described at MacOS Forge In September 2008, MacRuby 0.3 was released{{cite web|url=http://www.macruby.org/post/macruby-03 |title=MacRuby |accessdate=2008-10-25 |url-status=dead |archiveurl=https://web.archive.org/web/20081019184817/http://www.macruby.org/post/macruby-03/ |archivedate=October 19, 2008 }} MacRuby 0.3 announcement and included the HotCocoa library{{cite web|url=http://www.macruby.org/trac/wiki/HotCocoa |title=HotCocoa – MacRuby – Trac |accessdate=2008-10-25 |url-status=dead |archiveurl=https://web.archive.org/web/20081019184820/http://www.macruby.org/trac/wiki/HotCocoa |archivedate=October 19, 2008 }} HotCocoa Core Library page as well as several HotCocoa example programs.http://www.macruby.org/trac/browser/MacRuby/tags/0.3/sample-macruby/HotCocoa{{dead link|date=May 2017 |bot=InternetArchiveBot |fix-attempted=yes }} HotCocoa examples In October 2008, Apple created its first MacRuby page on its Developer Connection website.https://web.archive.org/web/20100908131627/http://developer.apple.com:80/mac/articles/scriptingautomation/cocoaappswithmacruby.html MacRuby page at Apple Developer Connection
MacRuby 0.4 was released in March 2009, MacRuby 0.5, 0.6, 0.7 in January, May and October 2010 respectively. MacRuby 0.8, was released on December 13, 2010,[https://web.archive.org/web/20101216055555/http://www.macruby.org/blog/2010/12/13/macruby08.html] MacRuby 0.8 announcement 0.9 on February 25, 2011 http://lists.macosforge.org/pipermail/macruby-devel/2011-February/007227.html MacRuby 0.9 release noteshttp://lists.macosforge.org/pipermail/macruby-devel/2011-February/007228.html MacRuby 0.9 0.10 on March 23, 2011,http://lists.macosforge.org/pipermail/macruby-devel/2011-March/007389.html 0.10 - update 0.11 on October 17, 2011,http://lists.macosforge.org/pipermail/macruby-devel/2011-October/008168.html brace yourselves, 0.11 is coming! 0.12 on June 11, 2012.
See also
- F-Script
- Nu
References
{{reflist|2}}
External links
- {{official website|http://www.macruby.org}}
- [https://www.apple.com/downloads/macosx/unix_open_source/macruby.html MacRuby download]
- [https://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmacruby.html Developing Cocoa Applications Using MacRuby]
- [https://web.archive.org/web/20090308075620/http://rubyconf2008.confreaks.com/macruby-ruby-for-your-mac.html MacRuby presentation during RubyConf 08 by Laurent Sansonetti (video)]
- [https://web.archive.org/web/20090308124430/http://rubyconf2008.confreaks.com/os-x-application-development-with-hotcocoa.html OS X Application Development with HotCocoa by Rich Kilmer (video)]
- [http://www.slideshare.net/mattetti/macruby-when-objectivec-and-ruby-meet Introduction to MacRuby (slides)]
- [http://www.slideshare.net/brendanlim/macruby-to-the-max-3530772 MacRuby to the Max presentation during RubyConf India 2010 by Brendan Lim (slides)]
- [http://shop.oreilly.com/product/0636920000723.do MacRuby: The Definitive Guide]
- [https://twitter.com/macruby MacRuby's Twitter account]
- [http://foolsworkshop.com/rubycocoa/category/macruby/ Fool's Ruby and Cocoa Workshop - MacRuby Archive]
- [https://web.archive.org/web/20081023152445/http://blog.springenwerk.com/2008/10/macruby-and-core-data-tutorial.html MacRuby Core Data Tutorial]
- [https://web.archive.org/web/20100617035340/http://www.icoretech.org/2009/08/having-fun-with-macruby/ Using MacRuby with Snow Leopard]
{{Ruby programming language}}