Taming the Chaos - Structured Concurrency
summary
Explains structured concurrency as a way to organize concurrent programs to avoid chaotic behavior. Covers the problems of unmanaged coroutines/threads (resource leaks, error propagation) and shows how structured concurrency uses scoped lifetimes and hierarchical task inheritance to manage cancellation, exceptions, and cleanup reliably.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 7:13Structured programming
- 13:31Concurrency problems
- 16:47Structured concurrency intro
- 19:59Task Scope demo
- 26:52Nested scopes and task trees
- 31:10Throttling and external libs
- 33:59ThreadLocal issues
- 39:01Scoped Values alternative
- 44:49Use cases and summary
related talks
50mStructured Concurrency: Managing the Hierarchical Cancelation and Error Handling
54mStructured Concurrency: Hierarchical Cancellation & Error Handling
01h 02mStructured Concurrency: Managing the Hierarchical Cancelation and Error Handling
01h 30mC++ Coroutines and Structured Concurrency in Practice
32mStructured Concurrency: The paradigm shift
01h 21mStructured Concurrency
41mStructured Concurrency in Java: The What & Why
43mStructured Concurrency in Java - The What and the Why
