Skip to content
HHackerTube.videoSurprise me

Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 2018

Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 2018 on HackerTube: recommended by 2 Hacker News commenters across 2 separate months, 2020–2023.

PyCon 2018

talk · intermediate · evergreen

Open on YouTube

Nathaniel J. Smith's PyCon 2018 talk introducing Trio, a Python concurrency library designed around usability and structured concurrency. He live-codes a problem and analyzes pitfalls in other async libraries.

Why Hacker News recommends it

Recommended as a clear introduction to structured concurrency and as an explanation of subtle asyncio bugs that Trio avoids.

people recommended it
2
separate months
2
strong recommendations
1
discussed on HN
2020–2023
“one of the best explanations I've seen about what subtle bugs are easy to make with asyncio”
— acidbaseextract, Oct 2021, in “A viable solution for Python concurrency”

What HN commenters said

3 Hacker News comments link this video. Each one links back to its thread.

acidbaseextractOct 2021Strongly recommends

The video (or blog post) below is one of the best explanations I've seen about what subtle bugs are easy to make with asyncio, why it's easy to make them, and how the trio library addresses them. But yes, consider alternatives before you pick asyncio as your approach! Talk: ▶ this video Blog post: [link]

in “A viable solution for Python concurrency” · View on HN

kzuberiFeb 2023Recommends

A useful introduction to the ideas is in Nathaniel's PyCon 2018 talk on trio [1], where he live-codes a solution to a concurrency-spaghetti problem. [1] ▶ this video

in “Structured Concurrency Definition” · View on HN

ric2bAug 2020Cites it

Great list. That last suggestion (Multiple requests) can be tough to implement correctly, I think it's usually called Happy Eyeballs: ▶ this video

in “Don't trust default timeouts” · View on HN

Topics & tags

Python, Ruby & scripting languagesSoftware architecture & designtriostructured concurrencyasynciopythonpycon