News for hackers. Stuff that matters.
Re:Working with strings in Rust (2020) by Tade0 on Friday September 23, 2022 @09:50AM (#32951949)
Far from it. It's main selling point is that it's friendly.

I had C/C++ in college and spent most of my career in front-end.

In comparison to the Cs Rust at least tries to get out your way. Stuff generally compiles and when it doesn't, it tells you what might be wrong using human language.

I mean, it's the first time I've seen a compiler error start with "perhaps..." to tell you what steps could be taken to fix it.

Re:Working with strings in Rust (2020) by HarHarVeryFunny on Friday September 23, 2022 @10:24AM (#32952360)
It's great to have a compiler give useful diagnostics, but it has to be said that's mostly a function of the compiler vs language.

LLVM-based compilers such as the rust compiler and Clang (C++) tend to be way better than g++ in this regard, although Clang competition has forced g++ to be a little better in recent years.