Get the latest tech news

Valhalla – Java's Epic Refactor


Project Valhalla wants to heal the rift in Java's type system between classes and primitives by introducing value classes, which 'code like a class, work like an int' and offer a flat and dense memory layout. During Devoxx 2024, Java Language Archit…

Brian Goetz on December 16, 2024 Project Valhalla wants to heal the rift in Java’s type system between classes and primitives by introducing value classes, which “code like a class, work like an int” and offer a flat and dense memory layout. Java’s epic refactor, as it has been dubbed, has been going on for 10 years but is now entering the home stretch. During Devoxx 2024, Java Language Architect Brian Goetz gave a complete update and explained the proposed solution: value classes, null-restricted types, beefed up definite assignment analysis, and strict initialization.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Java

Java

Photo of valhalla

valhalla

Photo of Epic Refactor

Epic Refactor

Related news:

News photo

Java Throughput/Latency & Power Efficiency Tuning For AMD EPYC Turin

News photo

Oracle's Java price hikes push CIOs to brew new licensing strategies

News photo

Ultra-low-latency, batching and concurrent queue for IPC in Java