News for hackers. Stuff that matters.
Re:So....Python on iPad/iPhone/iPod/iWhatever? by jawee on Thursday September 09, 2010 @05:20PM (#1676977)
I've heard some Python developers mention using Jython as a way to do this.. simple write in mostly normal Python and compile to Java bytecode.. http://www.jython.org/

Be curious to know if it has been done already and if so, how well it works.

Re:So....Python on iPad/iPhone/iPod/iWhatever? by djacobs on Thursday September 09, 2010 @05:38PM (#1677038)
Can the iPhone handle bytecode? It seems like if it could, most developers wouldn't be complaining about the iPhone's closed language ecosystem. Ruby devs could compile using JRuby; Python devs with Jython; Lisp guys with Clojure (I know that's a stretch for some), etc., etc.

As a general question, how is someone going to get a language interpreter (or Java compiler) included on the iPhone?

Re:So....Python on iPad/iPhone/iPod/iWhatever? by pederb72 on Thursday September 09, 2010 @05:50PM (#1677077)
Just compile the interpreter/VM and include it in your application. It depends on the size of the interpreter if this is possible/practical I guess. It's no problem with Lua for instance, since the Lua runtime is really small.
Re:So....Python on iPad/iPhone/iPod/iWhatever? by nailer on Thursday September 09, 2010 @05:55PM (#1677092)
Sure - you can now (as of the new rules today) ship a VM and bytecode (eg, Python VM and some Python code). Your app just cannot download additional bytecode (like Flash VM downloading arbitrary Flash bytecode).
Re:So....Python on iPad/iPhone/iPod/iWhatever? by btnpushnmunky on Saturday September 11, 2010 @05:58PM (#1682444)
So you think it'd be exactly the same as bundling the VM and code for a .app bundle?