Java Futures, Early 2019 Edition
summary
Java moves to six‑month releases with local variable type inference shipped in Java 10 and a preview of switch expressions in Java 12 (preview features are opt‑in for six months). Language work targets pattern matching, records and sealed types to remove boilerplate, and Project Valhalla adds inline/value classes that let arrays be flat. A matrix‑of‑complex benchmark using inline classes reports ~12× runtime speedup, ~1000× allocation reduction and CPU retire rate rising from ~1 to ~3 instructions per cycle; early access builds arrive within months.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:46As Java approaches middle age...
- 1:53Keeping our promises
- 3:53First, do no harm
- 5:59Evolution and Programming Languages
- 8:34New Release Cadence
- 10:52Local Variable Type Inference
- 15:17Preview Features
- 16:50Switch Enhancements
- 21:04Project Amber
- 27:59Records
- 32:08Sealed Types
- 35:02Pattern Matching, again
- 41:05Data Layout
- 44:27Value Types
- 46:58Project Valhalla








