On vendredi 20 février 2009, Stef Mientki wrote: > > I'm looking for examples from people who have written large PyQt > > applications and I would like to hear your opinions on what worked > > well and what did not specifically with choosing python over C/C++. > > In particular, how does your python application handle tasks that > > require a lot of computation? How does it handle multiple thread > > performance given python's limitations on only running on one CPU > > (global interpreter lock)? > > A Python *program* can utilize more than one core, just Python *code* > can't run on multiple cores in parallel. Everytime a C function calls > code that doesn't use the Python API it can chose to release the GIL. > That way a Python program can wrap a library and use as many cores as > possible.
There are a lot of C-based libraries for computation which are very fast (numpy and co). I've also read that some libs are looking at GPU for fast signal processing... -- Frédéric http://www.gbiloba.org _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt