News for hackers. Stuff that matters.
Re:Data races in Python, despite the Global Interpreter Lock by hedora on Monday February 21, 2022 @10:33PM (#30423722)
Thanks for the link. It's too bad they exposed the GIL to C extension authors. Now people will rely on it, making it impractical to remove!
Re:Data races in Python, despite the Global Interpreter Lock by pdonis on Monday February 21, 2022 @11:27PM (#30423972)
> It's too bad they exposed the GIL to C extension authors.

As I understand it, yes, that has been one of the main obstacles to removing the GIL. The current way forward seems to be to make all the interpreter state per-thread, so that each thread could have a separate interpreter; this would make the GIL unnnecessary, but of course one would still need synchronization primitives like mutexes to control access to data shared between threads.