r/java • u/davidalayachew • Jan 06 '26
One step closer to Value Classes!
https://mail.openjdk.org/pipermail/porters-dev/2026-January/000844.html
180
Upvotes
r/java • u/davidalayachew • Jan 06 '26
View all comments
Show parent comment
3
u/_vertig0 Jan 08 '26
Possibly. Java's VM is significantly more optimized than the Common Language Runtime is, to make up for the semantics of the language not being as good for performance as C# is. With this feature arriving, Java gains a big advantage that C# used to have over it, so perhaps. But it will take time for value classes to be optimized in the VM.