3 ms·
Yes, you can read more about the JVM changes in this blog post: https://openjdk.org/projects/valhalla/design-notes/state-of-valhalla/03-vm-model https://openjdk
by quantumwoke 3y ago
Yes, you can read more about the JVM changes in this blog post: https://openjdk.org/projects/valhalla/design-notes/state-of-valhalla/03-vm-model https://openjdk.org/projects/valhalla/design-notes/state-of-...
- brundolf 3y agoNice. So for example, it looks like Kotlin already has a nearly identical feature at the language level, which will be optimizable when Valhalla ships: https://github.com/Kotlin/KEEP/blob/master/notes/value-classes.md https://github.com/Kotlin/KEEP/blob/master/notes/value-class... > In the future, in a Valhalla-capable JVM, JVM primitive classes will enable efficient representation of Kotlin value classes with an arbitrary number of underlying fields on JVM.
- pjmlp 3y agoExcept it will mean that the semantics will be observable between JVM, ART, and all remaining Kotlin targets.