[Python-3000] An impassioned plea for true multithreading

Guillaume Proux gproux+py3000 at gmail.com
Wed Jun 27 12:44:51 CEST 2007


My 2 cents...

I have really felt the need for real multithreading when I have tried
programming multimedia with python (pygame).
Doing scene management at the same time than other processes that
require quasi realtime (video decode) is just basically impossible
(without telling you about the garbage collector kicking in when the
bad guy is about to shoot you!)

Of course, one solution is to make a  multithreaded scene-graph engine
in C++ and control that engine from Python but then it just proves the
point that not everything can be scaled up through increasing the
number of processes. Some things just cannot be scaled up when it is
required to have simultaneous access to the same dataset.

Regards,

Guillaume


More information about the Python-3000 mailing list