r/java • • Jan 06 '26

One step closer to Value Classes!

https://mail.openjdk.org/pipermail/porters-dev/2026-January/000844.html
180 Upvotes

118 comments sorted by

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.