Hacker News new | ask | show | jobs
by the8472 1744 days ago
I guess records will make valhalla (value types) easier which enables more efficient data structures and will probably make passing data over FFI (valhalla) easier too.

They reduce a lot of boilerplate, e.g. when passing multiple return values.

1 comments

Records are orthogonal to value types (now called primitive types).
I thought they are light weight ways of declaring a structure. From there they take different paths for immutability extensibility allocation … etc