Hacker News new | past | comments | ask | show | jobs | submit login

I find that difficult to believe, as the "What's New in Python 3.11" release notes (https://docs.python.org/3.11/whatsnew/3.11.html) don't mention "GIL" or "Global Interpreter Lock" at all. A change of that magnitude would definitely get a mention there.



No, it has not been done. I published a post in Reddit related to this experiment that you can check here if you want: https://www.reddit.com/r/programming/comments/q8n508/prototy...


Isn't this exactly what I wrote?


The GIL removal was implemented, apart from the GIL removal part?


No. Sam Gross’s PoC included a number of optimisations besides the gilectomy. It were those optimisations that made it faster, while the GIL removal slowed it down again; so only the optimisations were implemented.


When performing gilectomization, it's better to undergilectomize than overgilectomize.


It's ok, you can get a reverse gilectomy


Some of "Sam Gross’s proof of concept" was implemented of which the GIL removal was only a part. The rest was performance improvements.


Yes.

The "GIL removal" umbrella proposal was two-fold. It included (a) removing the GIL, (b) several optimizations to handle some issues with GIL being removed and offset the GIL removal overhead (due to more frequent lock checks, etc).

The GIL-removal assisting changes and optimizations were merged, but the GIL removal was not.


And also the very first item of the 3.12 plan (the subject of this post) is about tweaking the GIL.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: