~/talk

What Java Developers Can Learn From ZIO

Talkat jLove 2020 · 2020-12-04..12-05· [java, concurrency]
slides:none on file

ZIO gives Java-like projects concrete tools: open up to four files in parallel with forEachParN, abort on the first parse error while bracket guarantees each file handle closes and running tasks are interrupted, implement actor-transfer atomically using STM with optimistic retries and composable locks, and spawn nonblocking workflows as fibers + promises (example: fork a 5s delay then complete a promise). ZIO describes workflows (under 20 primitives) and runs them via its interpreter runtime so interruption, finalizers and composition work reliably.

AI-written summary · about

  1. 0:00Introduction to ZIO
  2. 1:30What is ZIO library
  3. 3:16Parallel file processing example
  4. 7:54Actor supervision transfer problem
  5. 12:28ZIO design principles
  6. 17:08Fiber-based concurrency
  7. 21:18Compositional laws in ZIO
  8. 24:02Lessons for Java developers
  9. 28:36Summary and conclusion
~/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.