[Chicago] desktop development

Tal Liron tal.liron at threecrickets.com
Sat Dec 4 02:50:44 CET 2010


Any GUI that needs to run "something" in the background would need an 
extra thread, if you want to keep the app responsive and have a good 
user experience (asynchronous notifications, progress bars, etc.)


-Tal


On 12/03/2010 07:20 PM, Bryan Oakley wrote:

> On Fri, Dec 3, 2010 at 6:02 PM, Tal Liron<tal.liron at threecrickets.com>  wrote:
>> For anything but the most
>> trivial desktop app, you'll want to do multithreading, ...
> I have a hard time believing that. I've got similar experience to
> yours (20ish years non-trivial commercial desktop GUI development in
> many languages and platforms) and only rarely have I ever needed
> multithreading. In fact, the only time I've really needed
> multithreading is for toolkits that more-or-less require it. The last
> commercial app I worked on was multi-threaded, and when I stripped
> that out the code was considerably less complex and ran faster.
>
> Now, multi-*processing*, that's another story. My GUIs almost always
> spawn external processes to get work done.
>
> So yeah, you can use threads but they are far from being a given in my
> experience.
>
> (that being said, my current project has three threads -- one for the
> GUI, one for a built-in jabber client, and one for a built-in xmlrpc
> server. If I were using Tcl instead of Python, though, I probably
> would only need one thread<shrug>)
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago


More information about the Chicago mailing list