Trio: Structured Concurrency for Python (Alternative to Asyncio)
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.
***
INTERESTED IN THE STOCK MARKET?
I developed a profitable stock market trend following model. Information can be found here:
***
PUBLICATION PERMISSIONS:
Original video was published with the Creative Commons Attribution
1 view
6
0
5 months ago 19:33:02 1
All 426 Boss Fights (No Damage) - Demon’s Souls, Dark Souls 1, 2, 3, Bloodborne, Sekiro & Elden Ring
5 months ago 00:27:36 1
Gustav Mahler - Symphony No. 3 in D-minor - VI, Langsam. Ruhevoll. Empfunden