Re: Stackless?

Ian McCullough <[email protected]> Sun, 16 Feb 2014 15:28:33 -0500
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <CADa4atUSvHWmzjWYVV2P8cgnK3R9GRjAAt8Ka-Yb7-yLVBmt6w@mail.gmail.com>
The idea is to have a native Objective-C app, which hosts a stackless
python interpreter in-process. The main feature of interest to me is the
ability of stackless python to serialize a tasklet and deserialize and
resume it later. Think of it as a "save game" mechanism, where the game
logic is implemented in python -- you can save your game by serializing the
state of the tasklet, and restore it later.

The usage of pyobjc was intended to keep from having to keep a python-side
model and a native-side model in sync.

FWIW, I actually managed to get pyobjc to compile against stackless with
some slight modifications, but I'm seeing some real weird behavior at
runtime, so I'm not holding out much hope.

Ian



On Sun, Feb 16, 2014 at 3:17 PM, Diez B. Roggisch <[email protected]> wrote:

> As long as objective C isn't stackless, I doubt there is much use to it.
> What's your purpose?
>
> Diez
>
> On Feb 14, 2014, at 10:01 PM, Ian McCullough <[email protected]> wrote:
>
> >
> > Is it possible to build PyObjC for use with Stackless python?  My
> attempts are pointing to "No" but I figured I'd ask.
> > Thanks,Ian
> >
> >
> ------------------------------------------------------------------------------
> > Android apps run on BlackBerry 10
> > Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> > Now with support for Jelly Bean, Bluetooth, Mapview and more.
> > Get your Android app in front of a whole new audience.  Start now.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk_______________________________________________
> > Pyobjc-dev mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev
>
>

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk

_______________________________________________
Pyobjc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev