Episode 16: Memory Allocation
core.py29 Okt 2024

Episode 16: Memory Allocation

How does Python handle memory? Why does it need to perform custom forms of memory allocation? We talk about all that in this episode. We don't talk about Easter eggs, and we never mention Brandt by name, as promised last time!


## Timestamps


(00:00:00) INTRO

(00:00:22) PART 0: SPORTS NEWS

(00:01:57) PART 1: MEMORY ALLOCATION

(00:03:46) If you write C correctly, it manages memory for you

(00:05:38) malloc and the heap

(00:09:31) High-level allocators

(00:10:48) pymalloc

(00:11:15) 512 is a good number

(00:12:43) Memory domains in pymalloc

(00:15:09) Why is pymalloc faster than just using malloc?

(00:20:16) To free or not to free

(00:26:35) User-facing features of pymalloc

(00:30:40) Łukasz replaced by an LLM Sim... almost

(00:32:58) Debugging help with marked memory

(00:39:24) 8-byte alignment

(00:42:27) cymem

(00:45:08) tracemalloc

(00:49:12) memray

(00:50:47) Coding like an ultravillain

(00:55:22) Complaining about Apple

(01:01:45) PART 2: PR OF THE WEEK

(01:13:46) Pablo's buildbot release status page

(01:18:26) PART 3: WHAT'S GOING ON IN CPYTHON

(01:18:52) PEP 762

(01:22:30) PEP 758

(01:26:10) Performance updates

(01:29:14) Argparse suggests correct spelling

(01:30:13) Fraction.from_number() and Decimal.from_number()

(01:30:39) switched in contextvars

(01:31:42) Better type annotations in pydoc signatures

(01:33:33) Fixes in TaskGroup and _PyFuture ref cycles

(01:34:03) Data race in ZoneInfo

(01:35:53) Testing certificates set to expire far in the future

(01:36:32) InternalDocs

(01:40:22) There are no Easter eggs

(01:40:42) OUTRO

Det här avsnittet är hämtat från ett öppet RSS-flöde och publiceras inte av Podme. Det kan innehålla reklam.

Avsnitt(30)

Episode 29: Is CPython developed with AI now?

Episode 29: Is CPython developed with AI now?

Let's talk about what it really means in practice that AI tools are used in the cpython GitHub repository now. First-hand opinions based on first-party experience. And some personal news!## Timestamps...

17 Apr 2h 9min

Episode 28: 2025 In Review

Episode 28: 2025 In Review

Let's take a breather from heavy content and take a look back at last year in this light but spicy episode! The good, the less good, and the disgusting. All that in barely an hour!## Timestamps(00:00:...

3 Jan 1h 16min

Episode 27: Calling Things, Part 1

Episode 27: Calling Things, Part 1

Inside of you there are two stacks. Actually, there’s three. The system-level call stack, the CPython call stack, and the interpreter’s evaluation stack. What is all that about? Today we’ll talk about...

7 Dec 20252h 5min

Episode 26.2: CPython Sprint Week in Cambridge UK, Part 2

Episode 26.2: CPython Sprint Week in Cambridge UK, Part 2

More interviews from the core sprint! This time we have: Greg P. Smith, Thomas Wouters, Paul Ganssle, Pradyun Gedam, Carol Willing, Guido van Rossum, Brett Cannon, Erlend Aasland, Tal Einat, Lysandros...

25 Okt 20252h 18min

Episode 26.1: CPython Sprint Week in Cambridge UK, Part 1

Episode 26.1: CPython Sprint Week in Cambridge UK, Part 1

What? What do you mean this two-and-a-half hour episode is PART 1? Well, there were fifty people at the sprint in September. We interviewed thirty of them. In Part 1 you can hear from 18 of them: Ken ...

15 Okt 20252h 24min

Episode 25: A Python That Never Was

Episode 25: A Python That Never Was

What if some rejected PEPs were actually accepted? How would Python look today? Let's go through 10 PEPs from the past and imagine an alternative future for the language!## Timestamps(00:00:00) INTRO(...

26 Aug 20252h 1min

The Megahertz

The Megahertz

Python 3.14? That's old news. Let's talk about the first big feature of Python 3.15 -- a built-in sampling profiler for Linux, macOS, and Windows. We also cover improvements in perf support, discuss m...

12 Juli 20251h 42min

PyCon US 2025 Recap

PyCon US 2025 Recap

We’ve been gone a while. Here’s our excuse for being silent for a month: PyCon, PyCon, something something security. Come listen to how the conference looked like from our perspective! And whatever yo...

13 Juni 20251h 36min

Populärt inom Politik & nyheter

aftonbladet-krim
svenska-fall
tv4-nyheterna-story
p3-krim
rss-krimstad
motiv
de-fyras-gang
aftonbladet-daily
flashback-forever
spar
rss-expressen-dok
rss-sanning-konsekvens
politiken
rss-vad-fan-hande
krimmagasinet
rss-krimreportrarna
kungligt
svd-dokumentara-berattelser-2
olyckan-inifran
rss-flodet