Python Bytes cover image

#318 GIL, How We Will Miss You

Python Bytes

00:00

Is There a Difference Between Biased Reference and Deferred Reference Counting?

In Python, each object has a thread owner. The process for what reference counting is for the owner is different than the process for the other owners. This means that some objects may not have to be locked or accessed by all threads at once. It's part of how we do reference counting and how our object model is. In C++, you'd totally know when the destructor was going to happen. But in Python, we don't really talk about destructors too much.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app