4 ms·
As a full time C++ dev I think the biggest argument is missing in this article: The consistent build and package management ecosystem. With rust/cargo _it_ _ju
by Kelteseth 4y ago
As a full time C++ dev I think the biggest argument is missing in this article: The consistent build and package management ecosystem.
With rust/cargo _it_ _just_ _works_. So many hours each month are wasted because of weird linker errors between linker targets, that cannot find a definition of a struct, dealing with broken external dependencies (yes I use vcpkg for that, still happens) and different build tools. I did get better the last few years, but still miles away from what Rust offers.
- MaulingMonkey 4y agoThere is still the occasional incredibly subtle link time fuckery in Rust. https://github.com/microsoft/win32metadata/issues/1274 https://github.com/microsoft/win32metadata/issues/1274 "Minor" semver updates to crates breaking things via e.g. unexpected MSRV bumps is pretty common too, with some resulting bitrot. That said, I agree with you that things in Rust are at least better. Imperfect, but better.
- rychco 4y agoYeah I still prefer writing C++, but Cargo is so incredibly smooth