# MacRuby 0.5

**URL:** <https://www.ruby-forum.com/t/macruby-0-5/182652>\
**Category:** Ruby\
**Created:** [February 1, 2010, 3:58am UTC](https://www.ruby-forum.com/t/macruby-0-5/182652 "2010-02-01T03:58:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [February 1, 2010, 3:58am UTC](https://www.ruby-forum.com/t/macruby-0-5/182652/1 "2010-02-01T03:58:00Z")

</div>

Hi,

After months of hard work and two successful beta releases, MacRuby  
0.5 is now available. Get it here while it’s still hot!

MacRuby is a version of Ruby 1.9, ported to run directly on top of Mac  
OS X core technologies such as the Objective-C common runtime and  
garbage collector, the CoreFoundation framework and the LLVM compiler  
infrastructure. While still a work in progress, it is the goal of  
MacRuby to enable the creation of full-fledged Mac OS X applications  
which do not sacrifice performance in order to enjoy the benefits of  
using Ruby.

You can learn more about MacRuby, and download a binary installer,  
from the website:

[http://macruby.org](http://macruby.org)

Or about this release more specifically, on our blog:

[http://www.macruby.org/blog/2010/01/31/macruby05.html](http://www.macruby.org/blog/2010/01/31/macruby05.html)

Enjoy,

Laurent

---

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [February 1, 2010, 4:27am UTC](https://www.ruby-forum.com/t/macruby-0-5/182652/2 "2010-02-01T04:27:17Z")

</div>

On Mon, Feb 1, 2010 at 10:55 AM, Laurent S.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> MacRuby is a version of Ruby 1.9, ported to run directly on top of Mac  
> OS X core technologies such as the Objective-C common runtime and  
> garbage collector, the CoreFoundation framework and the LLVM compiler  
> infrastructure. While still a work in progress, it is the goal of  
> MacRuby to enable the creation of full-fledged Mac OS X applications  
> which do not sacrifice performance in order to enjoy the benefits of  
> using Ruby.

wow. if you can do this 100%, i’d buy a mac 😉

best regards -botp

---

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [February 1, 2010, 4:50am UTC](https://www.ruby-forum.com/t/macruby-0-5/182652/3 "2010-02-01T04:50:42Z")

</div>

On Jan 31, 7:55 pm, Laurent S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> MacRuby is a version of Ruby 1.9, ported to run directly on top of Mac  
> OS X core technologies such as the Objective-C common runtime and  
> garbage collector, the CoreFoundation framework and the LLVM compiler  
> infrastructure. While still a work in progress, it is the goal of  
> MacRuby to enable the creation of full-fledged Mac OS X applications  
> which do not sacrifice performance in order to enjoy the benefits of  
> using Ruby.

Anything you can say about MacRuby on the iPad? I’d love to be able to  
develop full-fledged iPad apps using Ruby.

---

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [February 1, 2010, 10:00am UTC](https://www.ruby-forum.com/t/macruby-0-5/182652/4 "2010-02-01T10:00:55Z")

</div>

On Feb 1, 3:55 am, Laurent S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> … it is the goal of  
> MacRuby to enable the creation of full-fledged Mac OS X applications  
> which do not sacrifice performance in order to enjoy the benefits of  
> using Ruby.

Great!  
Does it mean that we could build a native Mac application which  
use a non Apple (i.e. multi platform) library such Qt (cocoa version)  
or next Tk release with MacRuby?

As QtRuby seams not so easy to use (install) on snow leopard,  
this could be the way to use Ruby with Qt4 or any native  
installed mac library without hard hacking fot making the  
binding?

But I guess that the call of these libraries will not be  
multi platform, …

– Maurice

---

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [February 1, 2010, 2:25pm UTC](https://www.ruby-forum.com/t/macruby-0-5/182652/5 "2010-02-01T14:25:30Z")

</div>

I just downloaded the new version, and tried the script on the main  
page(the  
HotCocoa “Hello world”).

It works, but it output this before the 'World!":

2010-02-01 14:22:17.364 macruby[1922:903] \*\*\* -[NSLock unlock]: lock  
(\<NSLock: 0x200327960\> ‘(null)’) unlocked when not locked  
2010-02-01 14:22:17.366 macruby[1922:903] \*\*\* Break on \_NSLockError() to  
debug.

Do you have any idea why?

---

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [February 1, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/macruby-0-5/182652/6 "2010-02-01T16:53:52Z")

</div>

> After months of hard work and two successful beta releases, MacRuby  
> 0.5 is now available. Get it here while it’s still hot!

Linux support?

benchmarks running sinatra versus 1.9?

(sorry I can’t do these myself–no mac here–maybe somebody with a mac  
can help me out).  
-r

---

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [February 1, 2010, 2:29pm UTC](https://www.ruby-forum.com/t/macruby-0-5/182652/7 "2010-02-01T14:29:24Z")

</div>

Gavin K. wrote:

> On Jan 31, 7:55ï¿½pm, Laurent S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > MacRuby is a version of Ruby 1.9, ported to run directly on top of Mac  
> > OS X core technologies such as the Objective-C common runtime and  
> > garbage collector, the CoreFoundation framework and the LLVM compiler  
> > infrastructure. While still a work in progress, it is the goal of  
> > MacRuby to enable the creation of full-fledged Mac OS X applications  
> > which do not sacrifice performance in order to enjoy the benefits of  
> > using Ruby.
> 
> Anything you can say about MacRuby on the iPad? I’d love to be able to  
> develop full-fledged iPad apps using Ruby.

That’s been possible for iPhone apps for a while with RubyCocoa and  
various other tools. I don’t know whether MacRuby would be any  
advantage here – it might.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
