From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search
Developer(s) Laurent Sansonetti (Apple Inc.)
Stable release 0.5[1] / January 31, 2010; 127508872 ago
Preview release 0.5 Beta 2[2] / November 17, 2009; 133988872 ago
Written in C, C++, Objective-C
Operating system Mac OS X
Type Ruby programming language interpreter and compiler
License Ruby License

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".[3] It is based on Ruby 1.9 and currently uses the YARV bytecode interpreter, but will be based on the Low Level Virtual Machine compiler infrastructure starting with version 0.5.

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.[4]



MacRuby was originally called "ruby+objc"[5] 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.[6] Version 0.2 was released in June 2008, and implemented Ruby strings, arrays and hashes as native Cocoa types.[7] In September 2008, MacRuby 0.3 was released[8] and included the HotCocoa library[9] as well as several HotCocoa example programs.[10] In October 2008, Apple created its first MacRuby page on its Developer Connection website.[11] MacRuby 0.4 was released in March 2009 and the final release of MacRuby 0.5 was announced on January 31st, 2010.


  1. MacRuby 0.5 announcement
  2. Announcement of the second beta release of MacRuby 0.5
  3. Discussion of MacRuby as a replacement for RubyCocoa
  4. Embedding MacRuby For Application Scripting
  5. Developer Laurent Sansonetti first discusses "ruby+objc" (which became MacRuby) on his blog
  6. Ruby-Talk: MacRuby 0.1 announcement
  7. MacRuby 0.2 described at MacOS Forge
  8. MacRuby 0.3 announcement
  9. HotCocoa Core Library page
  10. HotCocoa examples
  11. MacRuby page at Apple Developer Connection

External links

See also

Personal tools

Served in 0.336 secs.