Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Mac OS X Development Forums > Objective-C, Python, Ruby Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-06-2009, 06:33 AM   #1 (permalink)
Registered Member
 
Pedro Valentini's Avatar
 
Join Date: Oct 2008
Location: Rio de Janeiro, Brazil
Posts: 34
Pedro Valentini is on a distinguished road
Default Ruby in iPhone

What about use of Ruby in iphone instead of Objective-C?
There is some project in this way? It is possible?

Thank you
__________________
tecnalta.net
Pedro Valentini is offline   Reply With Quote
Old 02-07-2009, 12:17 AM   #2 (permalink)
New Member
 
Join Date: Aug 2008
Location: Austin, TX
Posts: 239
ayasin is on a distinguished road
Default

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.
__________________
iNeedStuff shopping assistant - get in, get out, get on with your life
ayasin is offline   Reply With Quote
Old 02-10-2009, 09:42 AM   #3 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 2
Hybrid is on a distinguished road
Default

MacRuby guys.

MacRuby – MacRuby
www.macruby.org
Hybrid is offline   Reply With Quote
Old 02-10-2009, 09:55 AM   #4 (permalink)
New Member
 
Join Date: Aug 2008
Location: Austin, TX
Posts: 239
ayasin is on a distinguished road
Default

Quote:
Originally Posted by Hybrid View Post
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.
__________________
iNeedStuff shopping assistant - get in, get out, get on with your life
ayasin is offline   Reply With Quote
Old 02-10-2009, 10:48 AM   #5 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 2
Hybrid is on a distinguished road
Default

Quote:
Originally Posted by ayasin View Post
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.
Hybrid is offline   Reply With Quote
Old 02-17-2009, 02:37 PM   #6 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 812
johnqh is on a distinguished road
Default

Quote:
Originally Posted by Hybrid View Post
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.
It will never happen. Wanna bet?
johnqh is offline   Reply With Quote
Old 03-28-2009, 10:02 PM   #7 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 5
happyboredom is on a distinguished road
Default

Quote:
Originally Posted by Pedro Valentini View Post
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.

rhomobile - the open mobile framework

I'm hoping it works like they say it does because I tried learning Objective C and made very little progress.
happyboredom is offline   Reply With Quote
Old 05-10-2011, 02:58 PM   #8 (permalink)
Registered Member
 
Pedro Valentini's Avatar
 
Join Date: Oct 2008
Location: Rio de Janeiro, Brazil
Posts: 34
Pedro Valentini is on a distinguished road
Default Lua

Quote:
Originally Posted by happyboredom View Post
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.

rhomobile - the open mobile framework

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
__________________
tecnalta.net
Pedro Valentini is offline   Reply With Quote
Old 05-27-2011, 11:36 AM   #9 (permalink)
Registered Member
 
Join Date: May 2011
Location: Seattle
Posts: 1
bellevue limo is on a distinguished road
Send a message via ICQ to bellevue limo Send a message via AIM to bellevue limo Send a message via MSN to bellevue limo Send a message via Yahoo to bellevue limo Send a message via Skype™ to bellevue limo
Default

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.
bellevue limo is offline   Reply With Quote
Old 07-17-2011, 03:54 AM   #10 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 2
A Person is on a distinguished road
Default

Quote:
Originally Posted by bellevue limo View Post
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
A Person is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 452
15 members and 437 guests
Domele, Duncan C, Feldspar, karatebasker, MacBook MH, Objective Zero, patapple, Paul Slocum, peterwilli, pipposanta, PixelInteractive, Punkjumper, rubyeim54, taylor202, Today's Posts
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,694
Threads: 94,137
Posts: 402,950
Top Poster: BrianSlick (7,990)
Welcome to our newest member, peterwilli
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:02 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0