[Python-3000] Kill GIL?

Nick Coghlan ncoghlan at gmail.com
Sun Sep 17 15:16:30 CEST 2006


Andre Meyer wrote:
> While I understand the difficulties in removing the GIL and the 
> potential negative effect on single-threaded applications I would very 
> much encourage discussion to seriously consider removing the GIL (maybe 
> optionally) in Py3k. If not, what alternatives would you suggest?

Brett Cannon's sandboxing work (which aims to provide first-class support for 
multiple interpreters in the same process for security reasons) also seems 
like a potentially fruitful approach to distributing processing to multiple cores:
   - use threads to perform blocking I/O in parallel
   - use multiple interpreters to perform Python execution in parallel

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list