3 ms·
The proposed change has another important aspect to it: it would help standardize a way of passing arrays across language boundaries. Currently when using FFI,
by thayne 6y ago
The proposed change has another important aspect to it: it would help standardize a way of passing arrays across language boundaries. Currently when using FFI, you often have to decompose fat pointers into pointer and length before calling a foreign function, or compose a fat pointer from a pointer and length in extern functions. This could mean languages like rust, d, etc. Could just pass arrays directly.
I for one would love to see this proposal become a reality.