decorators vs GIL
Sam Holden
sholden at flexal.cs.usyd.edu.au
Mon Aug 9 22:31:51 EDT 2004
On Mon, 9 Aug 2004 20:34:36 +0000 (UTC),
Jarek Zgoda <jzgoda at gazeta.usun.pl> wrote:
> G. S. Hayes <sjdevnull at yahoo.com> pisze:
>
>>> What really hurts is that I can't honestly tell Java programmers that
>>
>>> Python is a slam dunk compared to Java & the JVM. Java has no GIL,
>>
>>
>>
>> Java has drunk the threads Kool-Aid, and Java programmers are very
>> likely to be thread-crazy because of the lack of a select equivalent
>> (until recently) and the lack of good access to processes via fork or
>> similar. Luckily, it's usually pretty easy to convince people of the
>> benefits of NOT overusing threads once they've made that mistake once.
>
> Try GUI programming without using threads.
Right this minute I'm writing a GUI program which creates a long lasting
tcp connection, and at times less long lasting udp "connections".
No threads.
Well I guess one thread... :)
--
Sam Holden
More information about the Python-list
mailing list