Re: [Pyobjc-dev] Stackless?
Brought to you by:
ronaldoussoren
From: Diez B. R. <de...@we...> - 2014-02-16 20:57:59
|
I thought it was something along these lines. I guess all you can do is to set up your "host" application in a way that it can restore the save-game state from scratch, regardless of what that state currently is. But hoping that the whole NS*-world is persistable is bound to be disappointing :) Diez On Feb 16, 2014, at 9:28 PM, Ian McCullough <ip...@po...> wrote: > 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 <de...@we...> 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 <ip...@po...> 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 > > Pyo...@li... > > 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 > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |