The Future of Java: asynchronous programming with Loom
summary
Loom introduces a new lightweight thread model in the JDK to enable a different asynchronous programming approach: virtual threads that can be created in large numbers. The talk shows early preview builds and code patterns for async and structured concurrency, including scopes and per-scope locals, with minimal slides and many code examples to demonstrate how Loom changes writing asynchronous Java.
AI-written summary · about
chapters (9)
- 0:00Async programming with Loom
- 3:12Loom: OpenJDK project
- 6:01Java concurrency evolution
- 9:53Why concurrency is complex
- 16:33Limits of async
- 18:23Virtual threads: Loom's solution
- 23:17Demo: weather server
- 37:47Handling results and exceptions
- 43:25Q&A
related talks
47mConcurrent and Asynchronous Programming: Loom in Java 20 and 21
52mJava Virtual Threads
50mProject Loom: Helping Write Concurrent Applications on the Java Platform
02h 43mVirtual Threads, Structured Concurrency and Scoped Values in Java 25 and Beyond
32mProject Loom? Better Futures? What’s next for JVM concurrent programming
49mPrepare for what “Loom”s ahead.
02h 46mWill Loom Protect Us from Temporal Robbery?
51mWhat's Looming in Java The Why and What of Project Loom
