MacRuby

From Wikipedia, the free encyclopedia
Jump to: navigation, search
MacRuby
Developer(s) Laurent Sansonetti (Apple Inc.)
Stable release 0.10[1] / March 23, 2011; 11 months ago (2011-03-23)
Written in C, C++, Objective-C
Operating system Mac OS X
Type Ruby programming language interpreter and compiler
License Ruby License
Website http://www.macruby.org/

MacRuby is an implementation of the Ruby language that runs on the Objective-C runtime and CoreFoundation framework under development by Apple Inc. which "is supposed to replace RubyCocoa".[2] It is based on Ruby 1.9 and uses the high performance Low Level Virtual Machine compiler infrastructure starting with version 0.5. It supports both ahead-of-time and just-in-time compilation.

MacRuby supports Interface Builder and ships with a core library called HotCocoa to simplify Cocoa programming. MacRuby has also been used as an embedded scripting language for Objective-C applications.[3]

Contents

[edit] History

MacRuby was originally called "ruby+objc"[4] 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.[5] Version 0.2 was released in June 2008, and implemented Ruby strings, arrays and hashes as native Cocoa types.[6] In September 2008, MacRuby 0.3 was released[7] and included the HotCocoa library[8] as well as several HotCocoa example programs.[9] In October 2008, Apple created its first MacRuby page on its Developer Connection website.[10] MacRuby 0.4 was released in March 2009, MacRuby 0.5, 0.6, 0.7, 0.8 in January, May, October, December 2010 respectively, and MacRuby 0.9 was released in February 2011. MacRuby 0.10, the latest release, was released on March 23, 2011.

[edit] See also

[edit] References

  1. ^ http://www.macruby.org/blog/2011/03/23/macruby010.html MacRuby 0.10 announcement
  2. ^ http://forums.pragprog.com/forums/76/topics/687#posts-4160 Discussion of MacRuby as a replacement for RubyCocoa
  3. ^ http://www.infoq.com/news/2008/10/macruby-embedding Embedding MacRuby For Application Scripting
  4. ^ http://chopine.be/lrz/diary/2007-12-07_ruby-objc-Part-1.html Developer Laurent Sansonetti first discusses "ruby+objc" (which became MacRuby) on his blog
  5. ^ http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/294485 Ruby-Talk: MacRuby 0.1 announcement
  6. ^ http://www.macruby.org/post/44/ MacRuby 0.2 described at MacOS Forge
  7. ^ http://www.macruby.org/post/macruby-03 MacRuby 0.3 announcement
  8. ^ http://www.macruby.org/trac/wiki/HotCocoa HotCocoa Core Library page
  9. ^ http://www.macruby.org/trac/browser/MacRuby/tags/0.3/sample-macruby/HotCocoa HotCocoa examples
  10. ^ http://developer.apple.com/library/mac/#featuredarticles/UsingMacRuby/ Developing Cocoa Applications Using MacRuby

[edit] External links



Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages