Value Types Aren't ℂomplex
summary
Introduces Java value classes from Project Valhalla and explains how they create immutable, high-performance objects with lower memory use. Uses Mandelbrot fractal examples and live coding to show differences from traditional Java classes, how they cut allocations, and enable new JVM optimizations.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:55Cost of abstractions in Java
- 7:09Valhalla project origins
- 11:07Classes vs primitive types
- 15:41Value Classes overview
- 22:22Value Classes benefits
- 23:25Value object properties
- 28:24Strict initialization
- 33:18Impact on existing JDK
- 36:29Memory optimization with value arrays
- 41:09Value Classes constraints
- 43:15Advanced memory optimizations demo
- 44:38Conclusion
related talks
57mJava Value Types: what is it and why are they important
47mValue Objects - The Next Big Thing in Java
51mProject Valhalla: Flat Value Types in Java
50mWelcome to LWorld: The current state of value types in Java
52mValue Objects in Valhalla
48mValhalla: To the Hell and Back
02h 44mValue Types and Pattern Matching: 1–1, Data at the Center
56mValhalla Nullness Emotion
