~/talk

Thinking in Streams

Talkat JDD 2025 · 2025-10-21..10-22· [java, concurrency]
links:none on file
slides:none on file

Covers Java streams from Java 8 up to Java 25 and introduces Java 24’s new stream gutters as a real extension point that allows custom intermediate ops with mutable state. Shows built-in gutters like mapConcurrent (uses virtual threads to run 20 concurrent jobs in ~1s) and window sliding for anomaly detection, and explains why old parallel streams are limited by the common ForkJoinPool (example: 16 processors -> 17 tasks double runtime). Demonstrates custom collectors, a distinct-by-length gutter, and that the gutters approach works and improves parallelism.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14How Java streams work
  3. 8:27Custom collectors in Java
  4. 15:03Stream exceptions and parallelism
  5. 23:45Java 24 stream gutters
  6. 30:12Built-in stream gutters
  7. 33:08Custom gutters vs classic solutions
  8. 38:49Learning and best practices
  9. 44:08Q&A and closing
~/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.