News for hackers. Stuff that matters.
Re:Small Strings in Rust: smolstr vs. smartstring by dietr1ch on Sunday August 25, 2024 @04:39AM (#41345614)
Wow, I didn't expect `c_str()` to write at all. I knew that C++ was wild before C++57, but before C++ is insane.

Thanks for the explanation!

Re:Small Strings in Rust: smolstr vs. smartstring by jcelerier on Sunday August 25, 2024 @08:32AM (#41346845)
I don't think any implementation ever did this. But it was "technically possible" as the spec didn't prevent it so you have to account for it.