21 ms·
Todays Rust is also X times more complicated than modern C++. And not that long ago most people would agree that C++ is the language that is hardest to master.
by kramerger 4y ago
Todays Rust is also X times more complicated than modern C++.
And not that long ago most people would agree that C++ is the language that is hardest to master.
- synergy20 4y agoI don't know that much about rust yet, I just assume that if I know c++ fairly well, it might just be 20% harder to learn rust and get good about it, time will tell.
- lenkite 4y agoAs someone who (properly) learned modern C++ only some years ago and is just learning Rust, I agree - one needs a lot of learning in Rust before one can get kick-started. C++ is actually far easier to get out of the ground coding. Modern C++ is actually quite nice to code in. Its just a real pain to get started - project setup, documentation, cicd setup, ease of dependency/pkg management, cross-compilation, unit-tests, etc. Developer ergonomics are poor and not standardised. (There are also some critical features that are missing - like reflection that make things a pain) Rust the language is far harder to learn (even if it is safer), but the tooling is mouth-wateringly superb. In today's world, a language can live and die on developer ergonomics alone. Nobody really has the patience to do all the cruft-work that they could tolerate before - there is a lot of choice in the programming landscape.
- synergy20 4y agoconan or vcpkg might be able to help, I have used neither though, or a cmake boilerplate might also help, but no such project existed to be used by many, so yeah, the tooling at c++ is still in stone age, too bad. editted: just checked out conan briefly, it's pretty close to cargo and go toolings, going to use it more