Is it time to retire C and C++ for Rust in new programs?
theregister.com
Is it time to retire C and C++ for Rust in new programs?
1–10 of 29 posts
Re: Is it time to retire C and C++ for Rust in new programs?
#2With 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.
Re: Is it time to retire C and C++ for Rust in new programs?
#3Re: Is it time to retire C and C++ for Rust in new programs?
#4Re: Is it time to retire C and C++ for Rust in new programs?
#5As 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 d…
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.
Re: Is it time to retire C and C++ for Rust in new programs?
#6I found open source stuff is just wrong, or maintained by people who don't have the proper expertise to be writing these libraries. I'm not about to blast anyone specifically but it was tiresome to dig into libraries I would need and find fundamental things I don't think we're right.
A common attitude around performance and handing edge cases. I often hear things like oh well most people don't care about that or your doing it wrong.
It feels like there was a rush of people to try to fill the void that shouldn't have been rushing to write libraries with generic names
Re: Is it time to retire C and C++ for Rust in new programs?
#7So, microcontrollers basically.
Re: Is it time to retire C and C++ for Rust in new programs?
#8Eventually kids will stop learning C/C++ and the talent pool will dry up.
Re: Is it time to retire C and C++ for Rust in new programs?
#9This is software, and it is updateable. We need to stop thinking in discrete terms and start thinking in continuous terms.
If you do not think C and C++ are good, propose solutions to their committees instead of clogging up the digital space with flamebait.
Re: Is it time to retire C and C++ for Rust in new programs?
#10However, time has not been kind to the early adopters back then.
So I'm inclined to hold out just a little while longer. Let's see if Rust can maintain its momentum.