[Baypiggies] Web Crawler/Backend Engineer - San Francisco, CA

Asher Langton langton2 at llnl.gov
Tue Feb 2 23:51:53 CET 2010


On Feb 2, 2010, at 2:39 PM, Asher Langton wrote:
> On Feb 2, 2010, at 2:14 PM, Aahz wrote:
>> On Tue, Feb 02, 2010, Tung Wai Yip wrote:
>>>
>>> I think my experience tells me don't build multi-threaded  
>>> applications in
>>> Python ;-)
>>
>> Why?  I've had about equal trouble with multi-processing and
>> multi-threading.
>
> If you haven't seen Dave Beazley's presentations on the Global  
> Interpreter Lock, take a look at these:
>
> http://*www.*dabeaz.com/python/GIL.pdf
> http://*www.*dabeaz.com/python/NewGIL.pdf
>
> In short: multi-threading is really bad in Python 2.x when the  
> threads are CPU-bound.

Oops, I just looked at your webpage, and saw that you _wrote_ an  
article on the GIL (though I can't access it right now), so you  
probably didn't need these links!   Hopefully they're helpful to  
others, though.

-Asher


More information about the Baypiggies mailing list