~/talk

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

Talkat Scale By the Bay 2020 · on Thursday, 2020-11-12· at 16:45· cloud, Online· [java, concurrency]
slides:none on file

Project Loom introduces virtual threads and continuations to the JVM, making threads cheap to create and block so thousands can run while the JVM schedules them on a small set of kernel threads; development starts in 2017 and early‑access builds exist. It retrofits blocking JDK APIs to block virtual threads, but orchestration still needs abstractions: futures remain useful for composition and IOs as lazy descriptions solve cancellation, uninterruptible regions and composability issues that Loom alone does not. The net claim: better sequential readability, not a full replacement for concurrency libraries.

AI-written summary · about

  1. 0:00Start
  2. 5:25Current solutions Thread pooling
  3. 9:32Problems with Future • lost control flow • lost context
  4. 10:36What is Loom? Virtual threads
  5. 11:52What is Loom? Retrofit
  6. 14:54Problems with threads • communication • orchestration • interruption
  7. 15:53Thread communication/ synchronization • semaphores
  8. 17:32Towards declarative concurrency
  9. 22:19Better Futures What kind of high-level operations might we expect?
~/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.