Talks to Watch

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

30K views · May 13, 2018 · 32:17 · 2 HN recommenders · 3 mentions · discussed 2020–2023

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 points people here: Recommended as a clear introduction to structured concurrency and as an explanation of subtle asyncio bugs that Trio avoids.

“one of the best explanations I've seen about what subtle bugs are easy to make with asyncio”HN comment, 2021

What Hacker News said 3

Strongly recommendsacidbaseextractOct 2021

“one of the best explanations I've seen about what subtle bugs are easy to make with asyncio”

Explains subtle asyncio bugs and how trio addresses them

Full comment

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
RecommendskzuberiFeb 2023

“A useful introduction to the ideas is in Nathaniel's PyCon 2018 talk on trio”

Useful introduction with live-coded concurrency problem

Full comment

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
Cites itric2bAug 2020

“I think it's usually called Happy Eyeballs”

Happy Eyeballs concept for multiple requests

Full comment

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