Re: investigating stackless frameworks for iOS and OSX

Michael Brian Bentley <bentley-2O0ZWvXUCaBWk0Htik3J/[email protected]> Fri, 20 Mar 2015 21:20:07 -0700
Newsgroups gmane.comp.python.stackless
Message-ID <[email protected]>
Hi,

I am interested in OS X and iOS.

Kivy is interesting. It'll take me a while to process what they're doing 
to make it run fast.

In the early going I'll be using the tools and techniques I'm most 
familiar with.

-Mike


On 3/19/15 10:26 AM, Jeff Senn wrote:
> Hi Michael -
>
> I'm unclear after reading your message whether you are primarily interested in OS X or iOS.
>
> If the latter ( or you are interested in even more cross-platform-ness) you might want to know about
> Kivy ( http://kivy.org ). Of course (as you are probably aware) you have to take a little care with any "interpreted" code system on iOS so as not to run afoul of Apple's store guidelines.
>
> Kivy is a highly cross-platform environment based on Python and OpenGL (with their own OpenGL-based widget set with behaviors in Python code).  It's classic Python (2.7 now, but they have plans for 3).  And apparently there are deployed iOS apps in the store.  The idea is: write some python, and press a button and get builds for several platforms.
>
> I have a patch that switches out the python with stackless for iOS (and hopefully soon Android). I haven't done much testing yet though.
>
> If you are interested in the Python<-->ObjC bridging sort of thing, you might want to take a look at their approach:
> https://github.com/kivy/pyobjus  which differs from pyobjc primarily in that it uses ObjC introspection techniques to avoid having to (ahead of time) compile all the ObjC functionality into Python extensions.
>
> Note: I believe they are working hard to release a 1.9 version (including a whole new build procedure for iOS) so the comparison of released vs git masters is a bit opaque in some areas...