3 ms·
Many of these are false? * Rust is vastly easier to get started with as a new programmer than C or C++. The quality and availability of documentation, tutoria
by dralley 2y ago
Many of these are false?
* Rust is vastly easier to get started with as a new programmer than C or C++. The quality and availability of documentation, tutorials, tooling, ease of installation, ease of dependency management, ease of writing tests, etc. Learning C basically requires learning make / cmake / meson on top of the language, and maybe Valgrind and the various sanitizers too. C's "simplicity" is not always helpful to someone getting started.
* The Rust compiler isn't particularly slow. LLVM is slow. Monomorphization hurts the language, but any other language that made the same tradeoff would see the same problems. The compiler has also gotten much much faster in the last few years and switching linkers or compiler backends makes a huge difference.
* Orgs that have studied tracked this don't find Rust to be less productive. Within a couple of months programmers tend to be just as if not more productive than they were previously with other languages. The ramp-up is probably slower than, say, Go, but it's not Scala / Haskell. And again, the tooling & built in test framework really helps with productivity.
* Rust applications are very rarely slower than comparable C applications
* Rust applications do tend to be larger than comparable C applications, but largely because of static vs. dynamic linking and larger debuginfo.
- anymouse123456 2y agoSorry bud. Neither of our opinions make someone else's opinion false. - Rust may have felt easier for you or some, but certainly not everyone or even most. It might be worth it, but it's not an easy on ramp for many. - Excuses for slow compile times don't make compile times faster. - That's why I said "feel." There are warm fuzzy and cold prickly human things in here. Studies that pretend at measuring something we all know cannot be measured are summarily dismissed. - More excuses do not make a statement false. Rust compile times are some of the slowest I have seen in >25 years of development. Again, the trade-offs work for many people and orgs. That's great! That doesn't make them disappear or become, "false." It's precisely this tone and attitude (that is so prevalent in the community) that keeps so many of us away.