News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by ahgamut on Friday July 28, 2023 @10:45PM (#36916301)
"Python 4, but not really", because we want to squeeze out more multithreading performance and be cool again. Some questions from reading the OP:

- How much does performance improve due to this No-GIL thing? Is it greater than 2x? For what workloads? - Do I have to compile two versions of every extension (gil/nogil)? I would prefer building extensions does not get any more complicated. - Can I automatically update my code to handle nogil? (a tool like lib2to3 or six)

Re:No-GIL mode coming for Python by donio on Friday July 28, 2023 @11:13PM (#36916491)
The estimate in the PEP is that it will be 5-8% slower. Having to use more granular locks and atomic operations has a cost.

https://peps.python.org/pep-0703/#performance