Remix.run Logo
ciupicri 2 days ago

GIL is not part of the language design, it's just a detail of the most common implementation - CPython.

b33j0r 2 days ago | parent [-]

Fair and accurate. But that’s pretty much what people use, right?

I am happy to hear stories of using pypy or something to radically improve an architecture. I don’t have any from personal experience.

I guess twisted and stackless, a long time ago.

miohtama 2 days ago | parent [-]

The GIL is optional in new Python versions. Downsides are legacy library compatibility and degraded single thread performance.

b33j0r a day ago | parent [-]

I mentioned subinterpreters. That’s the thing that “makes the GIL optional,” you still have to use subinterpreters.

Is this no longer true?

miohtama 31 minutes ago | parent [-]

It is no longer true. You can have free threading.