2 ms·
> every call into a library is now doing its own little bespoke GIL instead of relying on python's global one like now. Is this some kind of joke? Do we live i
by imtringued 3y ago
> every call into a library is now doing its own little bespoke GIL instead of relying on python's global one like now.
Is this some kind of joke? Do we live in clown world now? You do realize that a lock is a trivial primitive in multi threading?
The concept of a "little bespoke GIL" is ridiculous. A lock is a lock. Sure, an extension could just put a global lock on every extension call and then you do end up with an extension wide lock but every other extension remains unaffected. There is no intelligence or genius behind putting a global lock in the interpreter that somehow gets ruined by putting the lock in the extension. In fact, GIL is the dumbest decision you could make and everything from that point on can only get better, not worse.