[Ironpython-users] IronPython Mobile Support
jdhardy at gmail.com
Tue Feb 14 19:08:34 CET 2012
On Tue, Feb 14, 2012 at 12:23 AM, Markus Schaber
<m.schaber at 3s-software.com> wrote:
>> Not supported - MonoTouch supports NO runtime code generation at all (not even DynamicMethod). I need to look deeper to see if it's possible to run without it.
> The problem with the runtime code generation is a legal restriction by Apple, AFAIR.
> I just remembered that there was a pure interpreter mode in ancient times, but AFAIR, interpreters are also forbidden by the same license restrictions.
> Maybe a form of precompiled scripts could run there? But I don't know whether it's worth the effort...
I'm pretty sure Apple does allow interpreters now; I believe EA embeds
Lua in most of their games. The problem is that I'm not sure the
interpreter mode is "pure" anymore, since every other platform has
DynamicMethods, and I haven't had a chance to really dig into it. Alex
has something cooking that might help, though.
If not, then precompiling is an interesting thought - it would mean
running everything through pyc first, but it might make it possible.
I'm not sure pyc removes enough of the dynamicism though.
One of my post-2.7.2 projects will be to write a very simple game
(Coin-tossing or roulette or something) and port is to all of these
platforms, which will ensure that they will work and that an
IronPython app can get into the various stores.
More information about the Ironpython-users