I keep seeing this question come up: why does #rustlang have `String` and `&str`?
So we try to write a few C programs that handle text. And then a few Rust programs. And, eventually, I think we have our response.
Please enjoy:https://fasterthanli.me/blog/2020/working-with-strings-in-rust/ …
-
-
thanks Wesley, glad you liked it!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
this was highly amusing. I especially enjoyed, “I believe the technical term is a ~fucky wucky~ buffer overflow.”