4 ms·
Rather than being a comment on where each was stored, my comment was intended to highlight how both Rust and Go slices are fixed-size pointer+metadata "windows"
by kibwen 9y ago
Rather than being a comment on where each was stored, my comment was intended to highlight how both Rust and Go slices are fixed-size pointer+metadata "windows" into some underlying array.
- saghm 9y agoFair enough! Not having done any PL work in a while, I tend to think of types in terms of the properties of how I use them rather than their implementation, so I was just surprised to see them compared this way.