[PyQt] Any Large PyQt Projects?

Erik Janssens tw55413 at gmail.com
Fri Feb 20 07:55:16 GMT 2009


Hi,

In my experience the big challenge with large applications with
lots of computations is to keep them responsive.  This is difficult
in either C++ or python.  I've run in a lot of difficulties in the
past with a large C++ QT app.  When you want your application to be
multithreaded, you should design for it from the very start, it's
not something you can add on later, because your design should
be completely different.  And because your design is so important,
you should be able to quickly tryout various strategies, therefor
I would recommend PyQt over QT.

With regard to the GIL, it's indeed nasty, but there are workarounds,
either you do your computations in C, and do the parallellisation
in C as well, or use something like parallel python, which is a 
very decent library.

OpenGL will cause the same amount of issues in pyqt as it does
in qt :)

Regards,

Erik

http://www.conceptive.be/projects/camelot/



On Thu, 2009-02-19 at 14:33 -0800, Brent Villalobos 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)?  I don't need too much detail (obviously nothing 
> proprietary), but I just want to know if anyone has any "red flags" that 
> people should be aware of before writing a large python gui app with 
> things like openGL contexts and heavy mathematical computation?
> 
> Let's make this interesting and see who has written the largest PyQt 
> application.  How many lines of code are we talking about?  10,000?  
> 100,000? 1,000,000!!!!???
> -Brent
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list