On 2006-07-21, Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, gel
> wrote:
>
>> I am attempting to understand threads to use in a network app which I
>> am writing.
>
> It is written, somewhere in the philosophy of *nix programming, that threads
> are a performance hack, to be avoided wherever possible. Use processes in
> preference to threads.

I've never understood the aversion people seem to have to
threads.  Especially in Python they seem very straightforward
to use and easy to understand.  I find IPC between processes is
much more work to do and difficult to get right.

Maybe it's just because threads are what I'm used to, since
I've been using them for 20+ years -- most of the platforms for
which I write don't have "processes".

-- 
Grant Edwards                   grante             Yow!  INSIDE, I have the
                                  at               same personality disorder
                               visi.com            as LUCY RICARDO!!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to