lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, 14 Feb 2010, Gé Weijers wrote:
>
> Last time I looked at Python the interpreter used a single lock to make sure
> that no two threads could be running inside the interpreter at the same time.
> Python supports threads by serializing them. That helps with using blocking
> system calls but not with performance.

It's worse than that. Python's GIL is implemented so badly that you often
get worse performance by adding processors. http://blip.tv/file/2232410

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.