Java Futures: 2019 Edition
summary
Six-month releases now ship features faster and accept 6–12 month preview windows for last‑minute feedback. Recent additions: local variable type inference (var) in Java 10 and switch expressions in Java 12 preview. Project Amber adds pattern matching, records and sealed types; Project Valhalla brings value types that flatten memory layout. Microbenchmarks show string.format up to 50× faster via intrinsics and a matrix example achieves ~12× speedup when classes become values.
AI-written summary · about
chapters (15)
- 0:00Start
- 6:03Evolution and Programming Languages
- 12:21Rapid Cadence & Language Evolution
- 14:47Local Variable Type Inference
- 17:55Preview Features Provisional status for language and platform features
- 19:27Switch Enhancements Preview feature in 12
- 21:16Switch Enhancements Expression switch, using simplified case labels
- 23:48Project Amber
- 25:47Pattern matching Type patterns in instanceof
- 32:52Pattern Matching Deconstruction patterns
- 34:27Targeted compiler intrinsics
- 37:00Data Layout The data layout we have
- 39:04Data Layout The data layout we want
- 40:10Value Types
- 45:57Project Valhalla Sample results








