Python in game development?

Will Ware wware at world.std.com
Thu Jul 20 00:12:11 EDT 2000


> > Be sure to check out stackless Python, which has some advantages for
> > game scripting:
> >
> > http://www.stackless.com/

Magnus Lie Hetland (mlh at idi.ntnu.no) wrote:
> What exactly *are* these advantages? (Very curious...)

Stacklessness allows you to implement extremely light-weight threads,
because you can concisely maintain a number of execution contexts
simultaneously, and rapidly switch between them. This could be useful
in a game if you want to model simultaneous behavior of a large number
of agents, such as soldiers in an army, ants in an anthill, airplanes
in a Pearl Harbor simulation, etc. Chris Tismer, Just van Rossum, and
I have done some work on this. See
http://world.std.com/~wware/uthread.html

-- 
 - - - - - - - - - - - - - - - - - - - - - - - -
Resistance is futile. Capacitance is efficacious.
Will Ware	email:    wware @ world.std.com



More information about the Python-list mailing list