Re:Rust Language Cheat Sheet
by otabdeveloper4 on Monday April 26, 2021 @04:15AM
(#26940410)
> The idea was to copy slices model from memory safe languages
No, the idea was to make a simple one-to-one wrapper for the "char, char" pairs programmers were already using all over the place, nothing more.
Another example is span, while C#'s Span and Microsoft's gsl::span do bounds checking, ISO C++17 span naturally leaves it to the developer's responsibility.