GIỚI THIỆU VỀ TẬP NÀY
How many cores does your machine have, 10, 18? Your async Python code uses just one of them. That isn't a bug in asyncio. That's the design, and optimizing event loops to be faster by 20% doesn't change it. So Giovanni Barillari started over. Joe is the creator of Granian, the Rust-based server that powers Talk Python. His new project is TonIO, an async runtime written from scratch for free-threaded Python. Real threads, a handful of primitives instead of asyncio's pile of them, and it flat out refuses to start if the GIL is on.
Episode sponsors
Sentry Error Monitoring, Code talkpython26
Python in Production
Talk Python Courses
Links from the show
Episode sponsors
Sentry Error Monitoring, Code talkpython26
Python in Production
Talk Python Courses
Links from the show
Guest
Giovanni Barillari: github.com
Granian: github.com
Hyper: github.com
Free threaded Python: docs.python.org
Sort of: labs.quansight.org
did a whole course: training.talkpython.fm
uvloop: github.com
rloop: github.com
TonIO: github.com
your EuroPython 2026 talk: www.youtube.com
Michael's Cutting Python Web App Memory Over 31% Article: mkennedy.codes
Watch this episode on YouTube: youtube.com
Episode #561 deep-dive: talkpython.fm/561
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
Giovanni Barillari: github.com
Granian: github.com
Hyper: github.com
Free threaded Python: docs.python.org
Sort of: labs.quansight.org
did a whole course: training.talkpython.fm
uvloop: github.com
rloop: github.com
TonIO: github.com
your EuroPython 2026 talk: www.youtube.com
Michael's Cutting Python Web App Memory Over 31% Article: mkennedy.codes
Watch this episode on YouTube: youtube.com
Episode #561 deep-dive: talkpython.fm/561
Episode transcripts: talkpython.fm
Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong
---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython
Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython
Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
Tiếng Anh
Hoa Kỳ
TRONG PHÂN ĐOẠN NÀY
BẢN CHÉP ÂM THANH 🔗
WEBVTT
00:00:00.020 --> 00:00:01.500
How many cores does your machine have?
00:00:02.080 --> 00:00:02.220
10?
00:00:02.720 --> 00:00:02.960
18?
00:00:03.740 --> 00:00:06.840
Well, your async Python code uses just one of them.
00:00:07.580 --> 00:00:09.060
That isn't a bug in asyncio.
00:00:09.420 --> 00:00:10.180
That's the design.
00:00:10.840 --> 00:00:16.940
And things like optimizing the event loops to be faster by maybe 20% with uv doesn't fundamentally
00:00:17.090 --> 00:00:17.480
change …
00:00:00.020 --> 00:00:01.500
How many cores does your machine have?
00:00:02.080 --> 00:00:02.220
10?
00:00:02.720 --> 00:00:02.960
18?
00:00:03.740 --> 00:00:06.840
Well, your async Python code uses just one of them.
00:00:07.580 --> 00:00:09.060
That isn't a bug in asyncio.
00:00:09.420 --> 00:00:10.180
That's the design.
00:00:10.840 --> 00:00:16.940
And things like optimizing the event loops to be faster by maybe 20% with uv doesn't fundamentally
00:00:17.090 --> 00:00:17.480
change …
TÌM KIẾM CÁC TẬP TRƯỚC
Tìm kiếm các tập trước của Talk Python To Me.
Tuyên bố miễn trừ trách nhiệm: Podcast và tác phẩm nghệ thuật được nhúng trên trang này là của Michael Kennedy, là tài sản của chủ sở hữu và không được liên kết hoặc xác nhận bởi Listen Notes, Inc.
CHỈNH SỬA
Cảm ơn bạn đã giúp cơ sở dữ liệu podcast luôn cập nhật.