|
|
Subscribe / Log in / New account

Progress on the Gilectomy

Progress on the Gilectomy

Posted May 25, 2017 18:25 UTC (Thu) by lhastings (guest, #66451)
In reply to: Progress on the Gilectomy by jake
Parent article: Progress on the Gilectomy

PyPy definitely has a GIL, which IIUC is used for stop-the-world tracing garbage collection cycles.

I couldn't tell you what I said in the rush of the moment, and I probably phrased it badly, so let me clarify. I don't think it'd be easier for CPython to get rid of its GIL per se. I think it'll be easier for CPython to get rid of its GIL *and still run Python extensions written in C*. It's easier for PyPy to get rid of its GIL, but it's enormously harder for them to run Python extensions written in C. If the end goal is "have a Python interpreter without a GIL that runs C extensions", then yes *that* is easier to achieve for CPython than it is for PyPy.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds