[Ironpython-users] IronPython Mobile Support

Tomas Matousek Tomas.Matousek at microsoft.com
Wed Feb 15 02:06:10 CET 2012

IronRuby does work with no IL generation whatsoever. The trick is to interpret all dynamic site rules.


-----Original Message-----
From: ironpython-users-bounces+tomas.matousek=microsoft.com at python.org [mailto:ironpython-users-bounces+tomas.matousek=microsoft.com at python.org] On Behalf Of Jeff Hardy
Sent: Tuesday, February 14, 2012 10:09 AM
To: Markus Schaber
Cc: ironpython-users at python.org
Subject: Re: [Ironpython-users] IronPython Mobile Support

On Tue, Feb 14, 2012 at 12:23 AM, Markus Schaber <m.schaber at 3s-software.com> wrote:
>> iOS
>> ---
>> 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.

- Jeff
Ironpython-users mailing list
Ironpython-users at python.org

More information about the Ironpython-users mailing list