Repository navigation
Project Valhalla value classes support #510
zhelenskiy
announced in
keep-discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This is the discussion related to the Project Valhalla value classes support. The current full text of the proposal can be found here.
It is proposed to compile Kotlin value classes (full and inline value classes, value objects, abstract and sealed value classes) to Project Valhalla value classes (JEP 401) on the JVM under the experimental
-Xvalhalla-value-classesflag, which requires JVM target 28 or later and-Xjvm-enable-preview. The proposal also covers interoperability with Java value classes and the value classes of the JDK, and theLoadableDescriptorsattribute.All reactions