Hacker News new | ask | show | jobs
by kaba0 1874 days ago
the JVM does something of the sort right now.
1 comments

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.