
PyCon 2018
2 HN recommenders · recommended in 3 months, 2020–2023
32:17 · 30K views · May 13, 2018
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.
Recommended as a clear introduction to structured concurrency and as an explanation of subtle asyncio bugs that Trio avoids.
3 comments from Hacker News
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]
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
Great list. That last suggestion (Multiple requests) can be tough to implement correctly, I think it's usually called Happy Eyeballs: this video