There are many approaches to concurrency all with different ways of handling cancellation and errors. Structured Concurrency is an approach that makes typical fan-out and fan-in use cases like races, easier to manage especially when sub-tasks need to be canceled or can produce errors. This talk will introduce the concept of Structured Concurrency and compare different approaches (with and without Loom) in Java, Kotlin, and Scala. Additionally, we will explore the seamless integration of Scoped Values with Structured Concurrency, enabling the propagation of contextual information across concurrency boundaries without explicitly passing them through method parameters.
Get notified about new features and conference additions.