News for hackers. Stuff that matters.
Re:gh-116167: Allow disabling the GIL by IshKebab on Monday March 11, 2024 @02:31PM (#39671760)
Well, technically it still won't be able to use the full power of threads in many situations because (I assume) it doesn't have shared memory. It'll presumably be like Web Workers / isolates, so Go, C++, Rust, Zig, etc. will still have a fundamental advantage for most applications even ignoring Python's inherent slowness.

Probably the right design though.

Re:gh-116167: Allow disabling the GIL by Difwif on Monday March 11, 2024 @04:08PM (#39672703)
Why would you think it's not shared memory? Maybe I'm wrong here but by default Python's existing threading implementation uses shared memory.

AFAIK we're just talking about removing the global interpreter lock. I'm pretty sure the threading library uses system threads. So running without the GIL means actual parallelism across system threads with shared memory access.

Re:gh-116167: Allow disabling the GIL by IshKebab on Monday March 11, 2024 @05:11PM (#39673277)
Yeah I think you're right actually. Seems like they do per-object locking instead.