Exceptions and Object Destruction (was: Problem with apsw and garbage collection)

Aahz aahz at pythoncraft.com
Thu Jun 18 12:09:24 EDT 2009


In article <pan.2009.06.18.01.44.03 at REMOVE.THIS.cybersource.com.au>,
Steven D'Aprano  <steven at REMOVE.THIS.cybersource.com.au> wrote:
>
>Additionally, while I'm a fan of the simplicity of CPython's ref counter, 
>one serious side effect of it is that it requires the GIL, which 
>essentially means CPython is crippled on multi-core CPUs compared to non-
>ref counting implementations.

Your bare "crippled" is an unfair overstatement.  What you meant to
write was that computational multi-threaded applications that don't use
NumPy are crippled.  Otherwise you're simply spreading FUD.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer



More information about the Python-list mailing list