SDK released - Python in iPhone?

Posted on March 7, 2008  by Mikko Ohtamaa
Filed Under iphone, mobile, python

I just read waffle’s blog entry about iPhone SDK release. Looks like Objective C is the only supported language by default (I am just downloading SDK).The comments speculated that embedding Python is not possible due to size constraints. Bollocks I say =) Python for Series 60 phones is 500 kb download without trimming. It’s less than the size of HTML page you are viewing now - RAM footprint is even smaller) If Series 60 phones, which have much more modest hardware specifications, can run Python it shouldn’t be a problem for iPhones either.

Why Apple didn’t add additional language support by default? Well they seem to have their hands full to get SDK out at all (delays) so we shouldn’t expect to have perfect set in 1.0 release.

Now, who wants start a porting project with me? ;) Share This

 

Other posts by Mikko Ohtamaa

 

Comments

11 Responses to “SDK released - Python in iPhone?”

  1. Perenzo on March 8th, 2008 3:12 pm
    Gravatar

    Hi, I may not be able to help you porting Python to the iPhone but I would like to see Python running on this device soon ;) I think this would be a great thing to quickly prototype new applications for the iPhone. But as far as I understood the SDK you have to write a Python app, publish it on the AppStore and then set the Python programs on top of this application. Maybe therefore the dirtribution of Python apps could become difficult or restricted by Apple AppStore.

     
  2. Mikko Ohtamaa on March 8th, 2008 3:21 pm
    Gravatar

    Python would be embedded in Object-C application. You can even statically compile it if you wish. The application user has no means whatsoever to know whether the app runs Python, Ruby, .NET or younameit internally. You won’t have a chance to distribute iPython (what a cool name I invented :) separately, except for development purposes.

     
  3. Paul on June 14th, 2008 11:07 pm
    Gravatar

    same here, helping in a port wouldnt be a option for me, but using Python to write apps for the iPhone 2.0 would be a damn sexy concept.

    Something along the lines of ‘from iphone2 import X’ would be damn neat.

     
  4. will on June 15th, 2008 11:00 pm
    Gravatar

    theyv already released it on iphone but I can’t download it for some reason

     
  5. Gubatron on June 16th, 2008 10:22 pm
    Gravatar

    Damn gay ass Objective C, I want to start pwning in python for the iPhone, not learning all the stupid Objective C crap.

     
  6. Manfre on August 25th, 2008 6:51 pm
    Gravatar

    I think the lack of Python support on the iPhone is intentional. This forces anyone wishing to develop for the iPhone to purchase mac hardware and prevents simple porting of Python apps from platform to platform.

     
  7. Michael on September 20th, 2008 7:07 am
    Gravatar

    A good insight, i think. it does look to be intentional. I don’t know if it is good or bad. May be we should thank Apple for preventing a torrent of low quality apps. Mine included :)
    Nah, it is bound to happen one way or anther, the only question is when.

     
  8. peter j mason on November 21st, 2008 3:58 am
    Gravatar

    It seems that you have no helpers. I’m a s/w engineer (UNIX, c, c++, python, others) between jobs and perhaps I could help you. I found your site because I searched for “python iphone” hoping to find already started work. I’ll be travelling for next 6 weeks but should be emailable and on low priority for this during that time. Talk to me, but someone above on June 15th says it’s already with us??? So what’s that about?

     
  9. K C Jones on November 24th, 2008 6:47 pm
    Gravatar

    It would seem that i’m not alone in wishing there was some real python support for iphone, i don’t think developing on a ‘Jailbroken’ would do me any favours :/ .

    “You can even statically compile it if you wish.” - this is interesting. I understand this but would something like PyObjC be that easy to statically compile? Footprint?

    My own reasoning for using Python would be to use it develop an AI component in a game. This game is to be run online in a flash enviroment and naturally i would rather only develop the AI once…. but at what cost :(. I’m fully open to suggestions…

     
  10. Mikko Ohtamaa on December 3rd, 2008 12:35 am
    Gravatar

    Please see recent discussion

    http://www.telesphoreo.org/pipermail/iphone-python/2008-November/000244.html

    It is possible and we are almost there

     
  11. John on February 18th, 2009 4:13 pm
    Gravatar

    Mikko Ohtamaa ,

    the name ipython is kind of already in use

    http://en.wikipedia.org/wiki/IPython

     

Leave a Reply




Copyright © Red Innovation Ltd. 2009 All Rights Reserved. | Log in | XHTML
Close
E-mail It