~/talk

Game of Loom: implementation patterns and performance implications

Talkat Voxxed Days Ticino 2023 · on Friday, 2023-01-20· [java, concurrency]
slides:none on file

Compares Java Project Loom virtual threads versus native threads by implementing Conway’s Game of Life with a CSP style channel per cell and variants including one-thread-per-cell and grouped workers on a ~5,000-cell board. Measures include different channel implementations (blocking, single-value, lock-free) and thread pools; virtual threads win some workloads—one benchmark shows about 7× faster—but suffer from more context switches, cache/core migration and sensitivity to blocking channel design, so performance depends on channel implementation and mapping of virtual threads to carriers.

AI-written summary · about

  1. 0:00Project Loom intro
  2. 7:13Virtual threads solve Java issues
  3. 16:21Virtual vs native threads perf
  4. 26:53Game of Life with Loom
  5. 33:04Synchronization patterns in virtual thread applications
  6. 41:08Benchmarking Loom channels
  7. 47:50Loom: tool not silver bullet
~/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.