Comment Comment by rando14775 When will they add a slice (fat pointer) type? I.e. a generic version of> struct T_slice { T* ptr; size_t len; };with all the syntactic sugar and bounds checks added in. This could catch so many out of bounds issues and doesn't seem that hard to do. parent rando14775 4 years ago
> struct T_slice { T* ptr; size_t len; };
with all the syntactic sugar and bounds checks added in. This could catch so many out of bounds issues and doesn't seem that hard to do.