My impression is that there are a few narrow cases (mostly involving parallelism) that Rust performs better than badly designed C++. I’ve seen no evidence of it executing orders of magnitude more efficiently. That said, the compiler does seem more helpful, and from that end I can see how someone who’s familiar with Rust could code much more efficiently. Would you disagree with that take?
Discussion
I was being a bit facetious with rust being orders of magnitude faster. I don't disagree with any of that actually, good assessment.
I'm a pretty shitty C++ developer, so that probably goes a long way to explaining why I generally experience rust compiling down to something faster.
Oh we were all joking with one another. I didn’t “take it sideways.” 🤣
I’m seriously interested as Rust is my new language and not very many people are willing to answer noob questions. I’ve been debating learning it for over a year, watched a lot of content creators (ThePrimagen is one of my favorites, and a big Rust fan) to try to understand if it was worth it.
Finally took the plunge about a month ago. Some family emergencies have gotten in the way a bit, but I’m working through the Rust Book.
C++ compiler errors are one area that’s been super neglected to the detriment of the whole ecosystem. Cargo is also game changing. There is Build2, but the community hasn’t rallied around it yet.
Whats your favorite thing about developing in Rust?