No, it's not possible. Unless someone is willing to write a ruby to objective c translator (extremely unlikely) it won't ever happen. The SDK license specifically prohibits interpreted code other than javascript used via webkit.
MacRuby won't work on the iPhone. The first hurdle is that it uses the Obj-C garbage collector to reclaim memory and the garbage collector isn't available on the iPhone.
MacRuby won't work on the iPhone. The first hurdle is that it uses the Obj-C garbage collector to reclaim memory and the garbage collector isn't available on the iPhone.
No that is true. But all you need to do then is maintain the memory manually (write most of your program in MacRuby) but the memory management will still be done in Objective-C . . . or a version of MacRuby for the iPhone may be written so you don't have to keep going back an forth. When the MacRuby project lead was asked about MacRuby going to the iPhone, all he did was smile and say "I can not answer this question." (NDA). Besides, when I am referring to to MacRuby on iPhone / iPodTouch, i am more referring to when Apple releases a new hardware spec for them (the first true second gen hardware upgrade), and iPhone OS 3.x. I am not expecting MacRuby (which is still 0.3) to be on current hardware. Although it would be nice.
Besides, when I am referring to to MacRuby on iPhone / iPodTouch, i am more referring to when Apple releases a new hardware spec for them (the first true second gen hardware upgrade), and iPhone OS 3.x. I am not expecting MacRuby (which is still 0.3) to be on current hardware. Although it would be nice.
What about use of Ruby in iphone instead of Objective-C?
There is some project in this way? It is possible?
Thank you
This may not be what you are looking for but a company called RhoMobile let's you develop a web based application in Ruby and then it compiles your web app into an iPhone app.
This may not be what you are looking for but a company called RhoMobile let's you develop a web based application in Ruby and then it compiles your web app into an iPhone app.
I'm hoping it works like they say it does because I tried learning Objective C and made very little progress.
Yes, it is a good project!! I'm studing it.
But I'm using Corona SDK, to develop for iPhone and Android using Lua Language. The problem is that they control your compilation and you need to pay to publish apps, but I'm liking the project. Ansca Mobile's advanced mobile app development tool
There is no Ruby interpreter for the iPhone, nor will there ever be. Maybe someone might cook up something, but I wouldn't hold my breath.
iPhone, being an embedded device, really doesn't have the horsepower to interpret Ruby efficiently. I'm sure you know this, but you also cannot "compile" Ruby into a binary.
I [think I] remember reading somewhere that iPhone apps can only be written in C. Apple will reject everything written in anything other than C. C++ is out, VB is out, Python is out, Ruby is definitely out. I might be wrong about C++, but anything else will not be accepted.
As a fellow Ruby developer, I wish they would find a way to get Ruby going on the iPhone. Unfortunately, it won't be happening any time soon.
There is no Ruby interpreter for the iPhone, nor will there ever be. Maybe someone might cook up something, but I wouldn't hold my breath.
iPhone, being an embedded device, really doesn't have the horsepower to interpret Ruby efficiently. I'm sure you know this, but you also cannot "compile" Ruby into a binary.
I [think I] remember reading somewhere that iPhone apps can only be written in C. Apple will reject everything written in anything other than C. C++ is out, VB is out, Python is out, Ruby is definitely out. I might be wrong about C++, but anything else will not be accepted.
As a fellow Ruby developer, I wish they would find a way to get Ruby going on the iPhone. Unfortunately, it won't be happening any time soon.
That's embedded environments for ya. It sucks.
Apple allows you to write your apps in Objective-C, C, C++ although you must use a little bit of Objective-C for initialization no matter what but after that you're free to program in C or C++ and you can even embed javascript via WebKit