News for hackers. Stuff that matters.
Re:Java's records, Lombok's data, and Kotlin's data classes by kaba0 on Friday May 07, 2021 @03:02PM (#27079615)
the JVM does something of the sort right now.
Re:Java's records, Lombok's data, and Kotlin's data classes by slver on Friday May 07, 2021 @04:43PM (#27080661)
Every time you rebuild a record you run through its constructor. I doubt this can be optimized the same as with a plain C struct.

Eventually with some more evolution. But not yet.