Live data from Hacker News

MacRuby 0.6 Released

lists.macosforge.org

1–10 of 14 posts

Re: MacRuby 0.6 Released

#4
post #2

Nice to see it progressing, but sad that we will probably never see it compiling iPhone apps.

Why do you think we'll never see it compiling iPhone apps? Neither the technical reasons - i.e. garbage collection in the iPhone Objective-C runtime, not the political reasons - the infamous 3.1.1, I presume, it doesn't do so already seem to me insurmountable. Especially since it is an Apple run project and one of its main goals is to be a first class Obj-C equivalent.

Re: MacRuby 0.6 Released

#5
Could someone tell me what I would do using macruby. I am a ruby programmer on a Mac. What kind of apps could i write ?

Are these essentially GUI apps which otherwise i would write using Objective C or Cocoa (i assume its a standalone language) or QT, GTK etc.

So does this allow me to write apps that have the Mac L&F ?

Re: MacRuby 0.6 Released

#6

Could someone tell me what I would do using macruby. I am a ruby programmer on a Mac. What kind of apps could i write ? Are these essentially GUI apps which otherwise i would write using Objective C or Cocoa (i assume its a standalone language) or QT, GTK etc. So does this allow me to write apps that have the Mac L&F ?

You can write native Cocoa apps with MacRuby that have Mac Look and Feel, with better than acceptable performance.

There are clean, high-level Ruby wrappings of UIKit classes, see HotCocoa: http://macruby.com/hotcocoa.html, although it's not clear to me how extensive this part of MacRuby is.

Re: MacRuby 0.6 Released

#8

Could someone tell me what I would do using macruby. I am a ruby programmer on a Mac. What kind of apps could i write ? Are these essentially GUI apps which otherwise i would write using Objective C or Cocoa (i assume its a standalone language) or QT, GTK etc. So does this allow me to write apps that have the Mac L&F ?

> So does this allow me to write apps that have the Mac L&F ?

Yes. MacRuby works well with Interface Builder (the GUI designer for the Mac) and lets you write pretty much anything you could with Obj-C, just quicker :)

There's also the ability to package your MacRuby app as a .app that can be distributed without requiring MacRuby to be installed (MacRuby not required to run the packaged app), but the size of the .app is much larger than an equivalent Obj-C version

Re: MacRuby 0.6 Released

#9
post #2

Nice to see it progressing, but sad that we will probably never see it compiling iPhone apps.

Why do you think we'll never see it compiling iPhone apps? Neither the technical reasons - i.e. garbage collection in the iPhone Objective-C runtime, not the political reasons - the infamous 3.1.1, I presume, it doesn't do so already seem to me insurmountable. Especially since it is an Apple run project and one of its main goals is to be a first class Obj-C equivalent.

Important to note is, that MacRuby is supported by Apple, and Apple employees are working on it.

Re: MacRuby 0.6 Released

#10
post #2

Nice to see it progressing, but sad that we will probably never see it compiling iPhone apps.

Why do you think we'll never see it compiling iPhone apps? Neither the technical reasons - i.e. garbage collection in the iPhone Objective-C runtime, not the political reasons - the infamous 3.1.1, I presume, it doesn't do so already seem to me insurmountable. Especially since it is an Apple run project and one of its main goals is to be a first class Obj-C equivalent.

It's important to remember that when NeXTStep and Objective-C were first invented, they were invented explicitly from the inspiration of Smalltalk. Apple today is a descendant of NeXT. I'd speculate that not only that they've taken notice of Ruby, but have decided that since Ruby is the spiritual descendant of Smalltalk, it's worth trying to make Ruby the first-class applications programming language for OS X platforms.
Post reply on HN