Hacker News new | ask | show | jobs
by Tade0 1366 days ago
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.

1 comments

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.