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

Every AI model has the same "controversial" take on humans
rakannimer · Hacker News · 6h ago
Jailbreaking the Switch 2
ledoge · Hacker News · 14h ago
The recently proposed o(n log n) integer multiplication algorithm [pdf]
craigcitro · Hacker News · 20h ago
Security Disclosure
passenger · Hacker News · 1d ago
Show HN: Run full iOS 16.5 firmware on Android Devices
aghuang · Hacker News · 7h ago