Value Classes Still Need Compiler Sympathy

·Hacker News··

This post discusses preview features in JDK 28\nJEP 401, a major Valhalla milestone, has been integrated as a preview feature in JDK 28. This is very exciting, as value classes increase both our ability to communicate the semantics of our programs to others and the optimization opportunities available to the JVM.\nHowever, I have seen people online essentially taking a “Value all the classes!” approach to this. I worry that there is a belief that ordinary classes give you a floor on

Read full article →

Related Articles

FDA authorizes first wearable device that monitors ketone and blood sugar levels
sunnynagra · Hacker News · 16h ago
Xiaomi: New CPU matches Apple cores single threaded, much faster multithreaded
tosh · Hacker News · 1d ago
Black hole singularity is a surface not a point
raattgift · Hacker News · 18h ago
Z.ai confirms Ox Alpha is a new GLM-series model and will release its weights
garo-pro · Hacker News · 1h ago
C2PA Cameras Do Not Survive Contact with Reality
Retr0id · Hacker News · 16h ago