Uploaded August 2026 | Updated November 2026, 2 days ago
OpenJDK's Project Valhalla is improving Java's support for custom numerical types. That goes beyond value types and also encompasses explorations into operator support. While Java is extremely unlikely to ever allow arbitrary operator definitions, it may well support limited operator overloading, so custom value types could be added or multiplied with plus or multiplication signs instead of annoying method calls.
In this "Ask the Architects" episode of the Inside Java Podcast, recorded during JavaOne 2026, Nicolai Parlog talks to Joe Darcy, Valhalla committer in the Java Platform Group at Oracle.
"Ask the Architects" is our podcast show, where we talk to experts in OpenJDK about their work on the Java language, API, and runtime.
~~~ Links ~~~
JDK 28 EA (with value types): jdk.java.net/28
Joe's talk at JavaOne 2026: youtube.com/watch?v=LN0XKkjugIk
Joe's talk about `strictfp` at JVMLS: youtube.com/watch?v=qTKeU_3rhk4
JEP 306: Restore Always-Strict Floating-Point Semantics: openjdk.org/jeps/306
Make sure to check https://inside.java/podcast for more episodes and the youtube.com/playlist?list=PLX8CzqL3ArzUMVSzm-z_-if8BIB55EGl4 playlist.
~~~ Chapters ~~~
0:00 Intro
1:25 What is a Number?
5:10 Type Classes
9:37 Groups and Other Math
13:14 Floating Point Numbers
16:35 Type Class Mechanics & Performance
26:07 Lumping vs Splitting Operations
33:28 Neutral Elements
35:54 Next Steps
Tags: #Java #OpenJDK #Valhalla #Arithmetik
OpenJDK's Project Valhalla is improving Java's support for custom numerical types. That goes beyond value types and also encompasses explorations into operator support. While Java is extremely unlikely to ever allow arbitrary operator definitions, it may well support limited operator overloading, so custom value types could be added or multiplied with plus or multiplication signs instead of annoying method calls.
In this "Ask the Architects" episode of the Inside Java Podcast, recorded during JavaOne 2026, Nicolai Parlog talks to Joe Darcy, Valhalla committer in the Java Platform Group at Oracle.
"Ask the Architects" is our podcast show, where we talk to experts in OpenJDK about their work on the Java language, API, and runtime.
~~~ Links ~~~
JDK 28 EA (with value types): jdk.java.net/28
Joe's talk at JavaOne 2026: youtube.com/watch?v=LN0XKkjugIk
Joe's talk about `strictfp` at JVMLS: youtube.com/watch?v=qTKeU_3rhk4
JEP 306: Restore Always-Strict Floating-Point Semantics: openjdk.org/jeps/306
Make sure to check https://inside.java/podcast for more episodes and the youtube.com/playlist?list=PLX8CzqL3ArzUMVSzm-z_-if8BIB55EGl4 playlist.
~~~ Chapters ~~~
0:00 Intro
1:25 What is a Number?
5:10 Type Classes
9:37 Groups and Other Math
13:14 Floating Point Numbers
16:35 Type Class Mechanics & Performance
26:07 Lumping vs Splitting Operations
33:28 Neutral Elements
35:54 Next Steps
Tags: #Java #OpenJDK #Valhalla #Arithmetik










