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)
- 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)