3 ms·
I guess records will make valhalla (value types) easier which enables more efficient data structures and will probably make passing data over FFI (valhalla) eas
by the8472 5y 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.
- cogman10 5y agoRecords are orthogonal to value types (now called primitive types).
- zaphirplane 5y agoI thought they are light weight ways of declaring a structure. From there they take different paths for immutability extensibility allocation … etc