~/talk

Structured Concurrency: Managing the Hierarchical Cancelation and Error Handling

Talkat Øredev 2025 · 2025-11-05..11-07· [kotlin, reactive-programming]
slides:none on file

Introduces Structured Concurrency with concrete code in Java Kotlin and Scala and a public repo that provides 11 obstacle courses and 20+ implementations; demonstrates Project Loom JDK25 scope API with virtual threads, Kotlin coroutines direct style, and effect libraries; shows explicit claims about cancellation semantics, resource cleanup, timeouts and error-join behaviors, assembles the expected "rig ght" from 10 concurrent requests with five failures, scales to 10,000 connections to validate cancellation, and documents Scoped Values and working examples in EasyRacer.

AI-written summary · about

  1. 0:00Structured concurrency intro
  2. 7:11EasyRacer project
  3. 10:01Kotlin example scenario 9
  4. 17:22Java Loom structured concurrency
  5. 22:09Scala Kio effect approach
  6. 25:03Understanding races in concurrency
  7. 26:28Kotlin coroutines race scenario 1
  8. 31:04Java Loom race impl
  9. 33:12Scala Ox race
  10. 34:16Error handling in races scenario 2
  11. 37:48Resource management scenario 3
  12. 39:13Timeouts and nested scopes scenario 4
  13. 40:18Further reading
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.