4 ms·
C++ is hard, too. So is C, to write correctly. Hasn't stopped either of them from literally powering almost every computer in use. Rust's complexity is equival
by sidlls 10y ago
C++ is hard, too. So is C, to write correctly. Hasn't stopped either of them from literally powering almost every computer in use.
Rust's complexity is equivalent to, but distinct from C++'s. I prefer it over C++, and I'm one big fan of the latter.
- xiphias 10y agoI think C++ is much harder actually. Making sure that the system doesn't crash means writing a lot more unit tests than what would be needed, and sometimes these problems come out in production only. I would love to switch to Rust, but it takes many years in a big company.
- eridius 10y agoI agree. Learning all of C++ is much harder than learning all of Rust. C++'s saving grace is you can easily get away with learning only a much smaller portion of the language.
- _jordan 10y agoRust is a paradigm shift; "...to write correctly" most people don't start off the bat with correct IMO. The learning curve is steep with rust.
- sidlls 10y agoYes, and I would say that is problematic for fast uptake. However I don't think that over the long term it is an insurmountable barrier.
- Ar-Curunir 10y agoC++ and C are easy to get into a working state, and then you bit by bit discover your mistakes. Rust forces that information up front, and that can be problematic for people who aren't used to it ( and just want to get a back up and running, which is unfortunately too many real world systems).