Re: [mlist] RE: [GD-General] Off the shelf scripting languages
Brought to you by:
vexxed72
From: Thatcher U. <tu...@tu...> - 2003-04-23 05:35:48
|
On Apr 23, 2003 at 12:37 +0300, Ivan-Assen Ivanov wrote: > > Python works well for us on all the consoles (NGC, PS2, XBox). > > How do you store the state of the interpreters, or does > the "no arbitrary moment savegames" nature of most console > games save you from this? > > Resolving the pointers embedded within interpreter stacks > was one of the two major issues we had to resolve for our > custom scripting system - and that we don't want to have to > resolve yet again. On the other hand, our custom scripting > language sucks in more ways than one, and I would be happy > to scrap it and integrate a "real language" instead. > > (Latent functions a la UnrealScript being the other > major issue, but Stackless Python seems to be able > to support that.) The latest version of Lua (5.0) is mostly "stackless", so latent functions are supported, and so you don't have troubles with interpreter state embedded in the C stack (if that's the problem you're referring to). You would still have to write some code to serialize the VM and heap state. -- Thatcher Ulrich http://tulrich.com |