Jeremy has been writing Python code since before function decorators were a thing and still thinks it's a pretty cool language. When he's not hacking on a side project or reading a good book, he can often be found tinkering with the innards of some container orchestration system or other in his endless quest for The Perfect Cluster Infrastructure. He's passionate about continuous learning and tries to make at least one exciting new mistake every day.
Concurrency has a reputation for being complicated and hard to get right, even in Python. Fortunately, by using the "structured concurrency" programming model, it's possible to avoid many of the pitfalls inherent in more traditional thread-based and callback-based models.
Trio is an async I/O framework that brings the benefits of structured concurrency to Python. Built from the ground up to use async/await natively, Trio makes it possible to write async software that is robust and easy to reason about.
In this talk I'll explain how Trio differs from its predecessors (such as Twisted and asyncio), show that it leads to simpler code with fewer bugs, and hopefully convince you to give it try.