PodParley PodParley

Episode 18: Reference Counting

Episode 18 of the core.py podcast, hosted by Pablo Galindo and Łukasz Langa, titled "Episode 18: Reference Counting" was published on January 24, 2025 and runs 99 minutes.

January 24, 2025 ·99m · core.py

0:00 / 0:00

After we talked about memory allocation in Python back in Episode 16, we're ready to complain, uh, explain reference counting. Or at least throw a bunch of reference counting facts at you. Plus a big assortment of recent Python changes. You ready? ## Timestamps (00:00:00) INTRO (00:04:17) PART 0: SPORTS NEWS (00:06:53) PART 1: REFERENCE COUNTING (00:08:28) New segment of 2025 (00:13:54) C++ is asymptotic Python (00:15:37) Is Rust game yet? (00:18:01) Names (00:20:25) Breaking the law (00:23:08) sys.getrefcount() (00:25:21) Pedantic Pablo (00:26:06) sys.gettotalrefcount() (00:31:24) TraceRefs (00:33:28) Advantages of refcounting (00:36:16) Disadvantages of refcounting (00:38:40) Reference cycles (00:40:39) Multithreading (00:41:25) When refcounting goes wrong (00:44:05) Freeing memory in Python doesn't return it to the OS (00:45:42) Leaks and cycles redux (00:50:29) Double free (00:53:05) Avoiding reference counting (00:54:59) Immortal objects (01:00:40) PART 2: WHAT'S GOING ON IN CPYTHON (01:02:43) New features (01:04:11) Assorted interesting changes (01:15:23) Performance (01:18:09) Free-threading changes galore (01:27:02) AsyncIO (01:34:25) Windows changes (01:36:45) Security (01:37:20) OUTRO

After we talked about memory allocation in Python back in Episode 16, we're ready to complain, uh, explain reference counting. Or at least throw a bunch of reference counting facts at you. Plus a big assortment of recent Python changes. You ready?


## Timestamps


(00:00:00) INTRO

(00:04:17) PART 0: SPORTS NEWS

(00:06:53) PART 1: REFERENCE COUNTING

(00:08:28) New segment of 2025

(00:13:54) C++ is asymptotic Python

(00:15:37) Is Rust game yet?

(00:18:01) Names

(00:20:25) Breaking the law

(00:23:08) sys.getrefcount()

(00:25:21) Pedantic Pablo

(00:26:06) sys.gettotalrefcount()

(00:31:24) TraceRefs

(00:33:28) Advantages of refcounting

(00:36:16) Disadvantages of refcounting

(00:38:40) Reference cycles

(00:40:39) Multithreading

(00:41:25) When refcounting goes wrong

(00:44:05) Freeing memory in Python doesn't return it to the OS

(00:45:42) Leaks and cycles redux

(00:50:29) Double free

(00:53:05) Avoiding reference counting

(00:54:59) Immortal objects

(01:00:40) PART 2: WHAT'S GOING ON IN CPYTHON

(01:02:43) New features

(01:04:11) Assorted interesting changes

(01:15:23) Performance

(01:18:09) Free-threading changes galore

(01:27:02) AsyncIO

(01:34:25) Windows changes

(01:36:45) Security

(01:37:20) OUTRO


No similar episodes found.

Mums with Bright Ideas Melissa Pye Mums with Bright Ideas Podcast is for Mums looking for inspo and know-how to start and grow their own business. The Host, Melissa Pye, is a straight shooter and doesn't shy away from asking probing questions to get to the core of what life is really like as a biz owner.Melissa's guests are Mums at different stages of their biz journey who share their story, warts and all. Melissa adopts what she calls a "No Peacocking Policy" so that listeners will always get the real story. To help Mums on their biz journey, Melissa also interviews subject matter experts on finance, marketing, operations, HR and just about anything that will help a biz grow.Melissa has 30 years biz experience, half of that in senior marketing roles in Australia and Asia working with brands including Hyundai, Audi, Jaguar, Optus and Westin Hotels. Melissa launched her first biz 15 years ago and has never looked back! Her latest biz, The LightBulb Lounge, provides courses and a community for Mums starting their bi Sean vigue fitness Sean Vigue Fitness Features world class Yoga, Pilates and core workouts with personal training and fun bootcamps from central Florida’s premier fitness instructor - Sean Vigue. Find eating tips and the most current health and fitness news. Videos updated weekly.Check out my award winning Pilates for Men workout on my website.www.seanviguefitness.com www.facebook.com/seanvigue Core EM - Emergency Medicine Podcast Core EM Core EM Emergency Medicine Podcast Core IM | Internal Medicine Podcast Core IM Team Core Internal Medicine via following series:5 Pearls || Clinically relevant pearls Mind the Gap || Why do we do what we do?Gray Matters || Management ReasoningHoofbeats || Dissecting clinical reasoningAt the Bedside || Explore everyday challenges
URL copied to clipboard!