lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Apr 11, 2010 at 9:29 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> On Sun, Apr 11, 2010 at 6:19 PM, Henk Boom <henk@henk.ca> wrote:
>> But that's only the second half of the sentence... the first part is
>> what would apply to lua.
>>> Applications must be originally written in Objective-C, C, C++, or
>>> JavaScript as executed by the iPhone OS WebKit engine...
> Can actually see why they want to keep Flash of their little devices,
> it's enough of a pig on big computers already.  But little Lua?

Because if you write it in lua, with some rework of the bindings, your
code will be portable to other systems.

If you write it in obj-c, it's portable to nothing.

If you wrap the iphone obj-c UIKit in C, and write your app to only
that C API, it is portable to other systems, this is the traditional
way to do multi-platform applications, and it's so painful, you don't
see it being done that often, and the results don't usually look
native.

As much obstacles, even uncertain obstacles, as Apple can create in
the path of app portability from iphone to other platforms helps them.

Sam