~/talk

Future of Collections

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java]
slides:none on file

Explains why persistent collections are being considered but not adopted yet: naive add would copy everything, real designs must share structure to avoid huge costs, and cache-locality and memory layout matter; discusses waiting for value objects (Project Valhalla) to avoid many heap allocations; demonstrates a concrete bug class where comparator vs equals mismatch makes TreeSet behave differently from HashSet; and shows practical tradeoffs around sequenced vs sorted interfaces and optional mutator methods throwing UnsupportedOperationException.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Persistent collections
  3. 8:06Persistent collections research
  4. 9:53Set membership equals issues
  5. 16:42Kevin Bourrillon library insights
  6. 19:57Java collections compromises
  7. 24:16Java incremental development
  8. 26:19Sequenced collections
  9. 32:19Closing remarks
~/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.