~/talk

Project Loom? Better Futures? What’s next for JVM concurrent programming

Talkat Global Summit for Java Devs 2020 · on Saturday, 2020-08-01· [java, concurrency]
slides:none on file

Project Loom introduces virtual threads and continuations to make thread creation and blocking cheap, and it retrofits blocking APIs (InputStream, writers, sleep, semaphores) so blocking a virtual thread doesn’t block kernel threads. Examples compare blocking-style HTTP calls vs CompletableFuture-based async code and a cache-vs-database race with a 100ms delay; Loom restores useful stack traces but doesn’t remove the need for higher‑level declarative concurrency libraries like IO/ZIO or actor/stream toolkits.

AI-written summary · about

  1. 0:00Start
  2. 1:36State the Problem
  3. 2:36Examples of Concurrency
  4. 5:06The Current Situation on the Jvm
  5. 14:42Compose Futures sequentially
  6. 16:04Blocking Operations
  7. 18:32Project Loom
  8. 18:55Virtual Threads
  9. 24:13When Is Loom Coming to Java
  10. 26:54The Problems with Threats
  11. 31:40Declarative Concurrency
  12. 41:55Ios Data Structures
  13. 42:48Cancellation
  14. 45:41Thread Interrupt
  15. 48:38Declarative Approach
  16. 52:20Kotlin
  17. 54:54Benchmarks
~/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.