[Python-ideas] Python 3000 TIOBE -3%

Sturla Molden sturla at molden.no
Thu Feb 9 20:30:09 CET 2012


On 09.02.2012 20:19, Matt Joiner wrote:
>> The GIL annoys those who have learned to expect threading.Thread for CPU
>> bound concurrency in advance -- which typically means prior experience with
>> Java. Python threads are fine for their intended use -- e.g. I/O and
>> background tasks in a GUI.
>
> Even for that purpose they're too heavy. The GIL conflicts, and
> boilerplate overhead spawning threads is obscene for more than trivial
> cases.

In which case you want to use I/O completion ports on Windows. (And they 
scale equally well from Python.)

Sturla



More information about the Python-ideas mailing list