
There's a whole PEP about that
Changelog & Friends
The Pros and Cons of a Global Interpreter Lock in Python
Python uses reference counting for garbage collection, right? We don't have an actual garbage collector that does like traces and long pointers. So we're very every time you make an assignment, it increments a counter on that object. The problem is if you put a little lock on every single object, your performance sucks,. Because that's a lot of lock in an unlocking and no one wants to put up with that.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.