3 ms·
> But I teach students both C++ and Rust, and by far Rust is preferred. It’s never even a contest. Why is Rust preferred though? Is it "fearless concurrency"
by DrBazza 5y ago
> But I teach students both C++ and Rust, and by far Rust is preferred. It’s never even a contest.
Why is Rust preferred though? Is it "fearless concurrency" (or whatever the old tag line was), a more modern stdlib, or is it Rust's tooling with `cargo` rather the shitty tool-scape of C++'s make/cmake/meson and vcpkg/conan and whatever else.
- e3bc54b2 5y agoAs a newbie who only learned Java and JS in bootcamp, and C in EE, Rust's tooling is absolutely phenomenal. Things just work, and that is a rare experience.
- ModernMech 5y agoIt’s a rare experience but once you’ve had it, anything less becomes unacceptable. Rust has ruined me for so many languages, my bullshit tolerance used to be much higher.
- pjmlp 5y agoBorland languages and IDEs did that to me, that is the minimum bar.
- adwn 5y ago> Why is Rust preferred though? Is it "fearless concurrency" Yes. > a more modern stdlib Yes. > is it Rust's tooling with `cargo` rather the shitty tool-scape of C++'s make/cmake/meson and vcpkg/conan and whatever else Yes. I don't mean to be flippant. The entire experience with Rust is just so much better than with C or C++, and that's even before you get to the actual language.