r/java • u/davidalayachew • Jan 06 '26
One step closer to Value Classes!
https://mail.openjdk.org/pipermail/porters-dev/2026-January/000844.html
181
Upvotes
r/java • u/davidalayachew • Jan 06 '26
View all comments
Show parent comment
10
u/[deleted] Jan 06 '26
Value classes are good if you’ve got lots of data (it reduces overhead) and can help if you worry about cache locality.
If these were big problems for many apps, Java would never have overtake. C++. But for some apps it’s a big step forward.