Re: Embedding Python. But not so easy.

2009-01-20 Thread Diez B. Roggisch
> 1) Threads: the simulation is going to be run in a very parallel > environment with several CPUs and > http://docs.python.org/c-api/init.html#thread-state-and- > the-global-interpreter-lock there is a global lock mentioned. Does that > mean that the python code can not benefit from this ? Not if

Embedding Python. But not so easy.

2009-01-19 Thread Peter
Hi, Right now I am in a project writing a Simulation engine, and we are right now in the process of evaluating a script engine. The basic principle is a C++ engine simulating the environment and scriptable agents interacting with the environment. But the current design has a special requireme