Re:Native UIKit iPhone Apps Written In Lua
by daeken on Thursday October 01, 2009 @12:41AM
(#854335)
That was my understanding as well, but the very latest iPhone SDK document says "downloaded or used" instead of 'and'.
Re:Native UIKit iPhone Apps Written In Lua
by mbrubeck on Thursday October 01, 2009 @12:51AM
(#854349)
Interesting. I didn't know that.
I wonder if iPhone's browser does XML and XSLT, like all modern browsers do?
It happens that XSLT is Turing complete, and the browser can certainly download stuff from teh internet. This could mean that merely embedding the browser into your iPhone app effectively turns it into an interpreter for programs downloaded from anywhere. Sure it's sandboxed but technically that shouldn't matter. And I'm sure you could introduce hooks to the browser from native side, to make something interesting out of it.
Re:Native UIKit iPhone Apps Written In Lua
by ptomato on Thursday October 01, 2009 @03:01AM
(#854464)
Or, you know, javascript. Which the iPhone's browser definitely supports. And which isn't governed by the terms of the SDK anyway.
Re:Native UIKit iPhone Apps Written In Lua
by blasdel on Thursday October 01, 2009 @03:14AM
(#854482)
Why the fuck would you bother with XML wankery when you're given a top-of-the-line JIT-compiling javascript engine?
Re:Native UIKit iPhone Apps Written In Lua
by tedunangst on Thursday October 01, 2009 @08:31AM
(#854795)
Would code downloaded and run by the browser be code that is run by Apple's builtin interpreter?
The SDK agreement seems (both in letter and intention) to be forbidding apps from downloading code that is run by a custom interpreter. It does not prevent an app from interpreting code that is part of the app itself.
"No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple’s Published APIs and built-in interpreter(s)."