Explore the world of asynchronous programming in Python with this insightful EuroPython 2018 conference talk. Delve into Trio, a modern framework that leverages Python 3 features like async/await keywords and async loops to simplify concurrent programming. Learn how Trio's innovative primitives make it easier to write correct and efficient concurrent programs. Follow along as the speaker demonstrates implementing a TCP connection speedup algorithm, showcasing Trio's advantages in terms of clarity, correctness, and conciseness compared to previous Python implementations. Gain valuable insights into cancel scopes, timeouts, and real-life use cases for asynchronous programming. Whether you're a newcomer to concurrent programming or an experienced developer, discover how Trio can make handling multiple simultaneous tasks more pythonic and accessible.
Overview
Syllabus
Introduction
Premised
Problems
Improvements
Async await
Cancel scope
Timeout
Simple async library
Real life use case
Possible solutions
Implementation
Trial
Taught by
EuroPython Conference