Feb. 9, 2012
7:30 p.m.
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