3 ms·
One big part I've noticed when working in rust is that, because the compilation and analysis checks you're given are so much stronger than in C or C++, and beca
by pveierland 2y ago
One big part I've noticed when working in rust is that, because the compilation and analysis checks you're given are so much stronger than in C or C++, and because the ecosystem of crates is so easy to make use of, I'll generally be able to make use of more advanced algorithms and methods.
I'm currently working with ~150 dependencies in my current project which I know would be a major hurdle in previous C or C++ projects.
- ForTheKidz 2y agoEverything you said is correct of course, but the idea of auditing 150 dependencies makes me feel ill. It's essentially impossible for a single person.
- steveklabnik 2y agoThis is why sharing code is so important; it doesn't fall on one person, but instead, on the overall community. For example, cargo-vet and cargo-crev allow you to rely on others you trust to help audit dependencies.
- pveierland 2y agoOh, absolutely. Software cannot scale without trust. No single person is capable of auditing their browser or operating system either.
- maccard 2y agoThe effort is _roughly_ proportional - if you need to parse JSON in either language you can write it yourself or use an existing library. Both of those are the same amount of work in c++ and rust.