MacRuby
| MacRuby | |
|---|---|
![]() | |
| Developer | Laurent Sansonetti (Apple Inc.) |
| Final release | 0.12[1]
/ June 11, 2012 |
| Written in | C, C++, Objective-C |
| Operating system | Mac OS X |
| Type | Ruby programming language interpreter and compiler |
| License | Ruby License |
| Website | www |
| Repository | |
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.
History
MacRuby was originally called "ruby+objc"[6] 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.[7] Version 0.2 was released in June 2008, and implemented Ruby strings, arrays and hashes as native Cocoa types.[8] In September 2008, MacRuby 0.3 was released[9] and included the HotCocoa library[10] as well as several HotCocoa example programs.[11] In October 2008, Apple created its first MacRuby page on its Developer Connection website.[12]
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,[13] 0.9 on February 25, 2011 [14][15] 0.10 on March 23, 2011,[16] 0.11 on October 17, 2011,[17] 0.12 on June 11, 2012.[1]
See also
- F-Script
- Nu
References
- ^ a b http://lists.macosforge.org/pipermail/macruby-devel/2012-June/008842.html Archived July 28, 2013, at the Wayback Machine MacRuby 0.12 release note
- ^ http://forums.pragprog.com/forums/76/topics/687#posts-4160 Archived April 2, 2010, at the Wayback Machine Discussion of MacRuby as a replacement for RubyCocoa
- ^ http://www.infoq.com/news/2008/10/macruby-embedding Embedding MacRuby For Application Scripting
- ^ RubyMotion - About. RubyMotion.com. Retrieved July 20, 2012.
- ^ Readme.rdoc. Github.com. Retrieved February 12, 2015.
- ^ http://chopine.be/lrz/diary/2007-12-07_ruby-objc-Part-1.html Archived December 13, 2007, at the Wayback Machine Developer Laurent Sansonetti first discusses "ruby+objc" (which became MacRuby) on his blog
- ^ http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/294485 Archived November 5, 2008, at the Wayback Machine Ruby-Talk: MacRuby 0.1 announcement
- ^ "MacRuby". Archived from the original on October 30, 2008. Retrieved October 25, 2008. MacRuby 0.2 described at MacOS Forge
- ^ "MacRuby". Archived from the original on October 19, 2008. Retrieved October 25, 2008. MacRuby 0.3 announcement
- ^ "HotCocoa – MacRuby – Trac". Archived from the original on October 19, 2008. Retrieved October 25, 2008. HotCocoa Core Library page
- ^ http://www.macruby.org/trac/browser/MacRuby/tags/0.3/sample-macruby/HotCocoa[permanent dead link] HotCocoa examples
- ^ https://web.archive.org/web/20100908131627/http://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmacruby.html MacRuby page at Apple Developer Connection
- ^ [1] MacRuby 0.8 announcement
- ^ http://lists.macosforge.org/pipermail/macruby-devel/2011-February/007227.html Archived May 28, 2012, at the Wayback Machine MacRuby 0.9 release notes
- ^ http://lists.macosforge.org/pipermail/macruby-devel/2011-February/007228.html Archived July 28, 2013, at the Wayback Machine MacRuby 0.9
- ^ http://lists.macosforge.org/pipermail/macruby-devel/2011-March/007389.html Archived July 28, 2013, at the Wayback Machine 0.10 - update
- ^ http://lists.macosforge.org/pipermail/macruby-devel/2011-October/008168.html Archived July 28, 2013, at the Wayback Machine brace yourselves, 0.11 is coming!
External links
- Official website
- MacRuby download
- Developing Cocoa Applications Using MacRuby
- MacRuby presentation during RubyConf 08 by Laurent Sansonetti (video)
- OS X Application Development with HotCocoa by Rich Kilmer (video)
- Introduction to MacRuby (slides)
- MacRuby to the Max presentation during RubyConf India 2010 by Brendan Lim (slides)
- MacRuby: The Definitive Guide
- MacRuby's Twitter account
- Fool's Ruby and Cocoa Workshop - MacRuby Archive
- MacRuby Core Data Tutorial
- Using MacRuby with Snow Leopard
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.
