Re:Working with strings in Rust (2020)
by HarHarVeryFunny on Friday September 23, 2022 @11:46AM
(#32953517)
> This isn't an article about why you should use Rust, it's about strings in Rust.
Well, the article literally has more C code in it than Rust, so it sure seems to be about comparing Rust to C.
Why the author thought it would be useful to compare Rust's strings to C, a language that literally doesn't even have a string type is beyond me. Kind of like saying "Look how fast I can run! Even faster than a walrus!"
Like I explained, it's difficult to understand Rust's language design - especially why it has multiple string types - without understanding C. Really, it's difficult to understand the decisions of most languages, without understanding C.
This isn't an article about why you should use Rust, it's about strings in Rust.