Thread Wars: Project Loom Strikes Back
summary
The talk examines Project Loom’s lightweight threads and coroutines for Java, comparing their design and implementation to Kotlin coroutines and Go goroutines. It traces the historical context and design decisions that shape Loom, analyzes how those choices affect the language, and dives into Loom’s internal implementation details.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:27What is Project Loom
- 4:39Thread limitations problem
- 8:10Task pool solution
- 14:30Async code drawbacks
- 18:46Kotlin hidden task pool
- 22:16How coroutines work
- 30:45Project Loom virtual threads
- 32:10Virtual thread architecture
- 37:07Virtual thread limitations
- 41:39Native code issues
- 44:26Virtual thread stack management
- 49:48Virtual thread schedulers
- 54:44Pros and cons of Loom
- 57:12Conclusions vs Go
- 1:01:46Conclusion and Q&A
related talks
01h 00mProject Loom — Friend or Foe of Reactive?
50mAsync Showdown: Java Virtual Threads vs. Kotlin Coroutines
44mLoom: Revolution or Implementation Detail?
35mProject Loom – the Killer of Reactive Programming
45mThe Secret of the Illoominaties
32mProject Loom? Better Futures? What’s next for JVM concurrent programming
51mWhat's Looming in Java The Why and What of Project Loom
35mUntangled: Sneak peek at Project Loom
