3 ms·
I'd say that Rust is better in many regards (the kinds of things you described will mostly Just Work), but there's still enough surface area that you might forg
by JoshTriplett 4y ago
I'd say that Rust is better in many regards (the kinds of things you described will mostly Just Work), but there's still enough surface area that you might forget bits if you haven't touched it in a while.
One notable difference, though: in C++, if you forget a detail, you might get a compilation error or you might get a runtime crash and need to pull out something like valgrind. In Rust, if you forget a detail, you're extremely likely to get a compilation error, not a runtime crash.