Episode 2 - PEP 703: Removing the GIL
core.py30 Loka 2023

Episode 2 - PEP 703: Removing the GIL

We've read the PEP on making the Global Interpreter Lock optional so you don't have to.


Timestamps


(00:00:00) Intro

(00:00:50) CURRENT STATE OF THINGS

(00:00:58) Reference counting

(00:01:35) Garbage collection

(00:02:33) What is the Global Interpreter Lock?

(00:03:57) The GIL and threading

(00:07:24) Current ways around the GIL

(00:09:26) HISTORICAL ATTEMPTS TO REMOVE THE GIL

(00:09:46) 1999: Greg Stein's attempt at Python 1.6

(00:10:46) Jython doesn't have the GIL

(00:11:19) 2015: Larry Hastings' Gilectomy at Python 3.5

(00:12:34) Pablo says removing the GIL is actually very easy

(00:13:24) Łukasz is skeptical

(00:14:20) 2021: Sam Gross' nogil at Python 3.9

(00:18:22) 2023: PEP 703 for Python 3.13

(00:20:05) PEP 703 IN DETAIL

(00:20:20) Biased Reference Counting

(00:25:19) Other needed speedups: deferred refcounts, immortalization, GC

(00:28:41) mimalloc

(00:34:46) More GC changes

(00:38:20) eval breaker

(00:42:08) Thread-safe standard collections

(00:45:26) Fast paths vs. slow paths

(00:49:47) Reading freed memory with mimalloc is kinda okay?

(00:58:06) Specializations become harder to implement without the GIL

(01:01:27) PEP 703 terms of acceptance

(01:04:08) No free lunch

(01:09:25) It's now or never

(01:11:59) Outro


Tämä jakso on lisätty Podme-palveluun avoimen RSS-syötteen kautta eikä se ole Podmen omaa tuotantoa. Siksi jakso saattaa sisältää mainontaa.

Jaksot(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 Huhti 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 Tammi 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 Joulu 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 Loka 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 Loka 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 Elo 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 Heinä 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 Kesä 20251h 36min

Suosittua kategoriassa Politiikka ja uutiset

aikalisa
uutiscast
ootsa-kuullut-tasta-2
rss-ootsa-kuullut-tasta
rss-podme-livebox
rss-vaalirankkurit-podcast
tervo-halme
otetaan-yhdet
rss-asiastudio
aihe
politiikan-puskaradio
rss-girls-finish-f1rst
rss-kaikki-uusiksi
rikosmyytit
the-ulkopolitist
rss-mina-ukkola
rss-aijat-hopottaa-podcast
rss-kuka-mina-olen
rss-raha-talous-ja-politiikka
rss-ulkopoditiikkaa