HOME

TheInfoList



OR:

MacRuby is a discontinued implementation of the
Ruby A ruby is a pinkish red to blood-red colored gemstone, a variety of the mineral corundum (aluminium oxide). Ruby is one of the most popular traditional jewelry gems and is very durable. Other varieties of gem-quality corundum are called sapp ...
language that ran on the
Objective-C Objective-C is a general-purpose, object-oriented programming language that adds Smalltalk-style messaging to the C programming language. Originally developed by Brad Cox and Tom Love in the early 1980s, it was selected by NeXT for its N ...
runtime and
CoreFoundation Core Foundation (also called CF) is a C application programming interface (API) written by Apple for its operating systems, and is a mix of low-level routines and wrapper functions. Most Core Foundation routines follow a certain naming conventi ...
framework under development by Apple Inc. which "was supposed to replace RubyCocoa". It targeted Ruby 1.9 and used the high performance
LLVM LLVM is a set of compiler and toolchain technologies that can be used to develop a front end for any programming language and a back end for any instruction set architecture. LLVM is designed around a language-independent intermediate repre ...
compiler infrastructure starting with version 0.5. It supports both ahead-of-time and just-in-time compilation. MacRuby supported
Interface Builder Interface Builder is a software development application for Apple's macOS operating system. It is part of Xcode (formerly Project Builder), the Apple Developer developer's toolset. Interface Builder allows Cocoa and Carbon developers to cre ...
and shipped with a core library called HotCocoa to simplify
Cocoa Cocoa may refer to: Chocolate * Chocolate * ''Theobroma cacao'', the cocoa tree * Cocoa bean, seed of ''Theobroma cacao'' * Chocolate liquor, or cocoa liquor, pure, liquid chocolate extracted from the cocoa bean, including both cocoa butter and ...
programming. MacRuby was also used as an embedded scripting language for Objective-C applications. In May 2012, Laurent Sansonetti announced RubyMotion, a port of MacRuby for iOS,
OS X macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and la ...
and
Android Android may refer to: Science and technology * Android (robot), a humanoid robot or synthetic organism designed to imitate a human * Android (operating system), Google's mobile operating system ** Bugdroid, a Google mascot sometimes referred to ...
.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;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" 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. Version 0.2 was released in June 2008, and implemented Ruby strings, arrays and hashes as native Cocoa types. In September 2008, MacRuby 0.3 was released and included the HotCocoa library as well as several HotCocoa example programs. In October 2008, Apple created its first MacRuby page on its Developer Connection website. 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, 0.9 on February 25, 2011 0.10 on March 23, 2011, 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


External links

*
MacRuby download




* ttps://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)
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



Using MacRuby with Snow Leopard
{{Ruby programming language Beta software MacOS development Object-oriented programming languages Ruby (programming language)