~/talk

Value Types and Pattern Matching: 1–1, Data at the Center

TalkinFrenchat Devoxx France 2023 · 2023-04-12..04-14· [java]
slides:none on file

Demonstrates concrete Java features and an LW5 prototype that implements value classes via an annotated bytecode rewriter and is benchmarked with JMH. Presents performance results: ~25 µs baseline for a primitive sum, ~70 µs when using boxed objects, ~30 µs with value records, and ~11 µs when arrays are flattened with non-null declarations (2x–6x speedups and much lower memory). Also shows record patterns and sealed types with exhaustive switch checking, and calls out practical gaps: switch specialization bugs, generic boxing without specialization, and the need for default-zero constructors plus atomic/non‑atomic semantics for flattening.

AI-written summary · about

  1. 0:00Introduction
  2. 28:03Data-oriented programming
  3. 1:08:50Records and pattern matching
  4. 1:33:39Project Valhalla
  5. 2:33:23Valhalla and Amber integration
  6. 2:43:56Q&A
~/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.