3 ms·
What learning curve? Rust is easier than C++, and a whole lot easier than C++20 further extended with modern safety guidelines.
by zozbot234 4y ago
What learning curve? Rust is easier than C++, and a whole lot easier than C++20 further extended with modern safety guidelines.
- menaerus 4y agoRight, "easier" as in: - Immature compiler susceptible to generating performance traps - Build times even longer than the infamous ones in C++ - Simplistic declarative-based build system - Inability to opt-in or to opt-out from static analysis - Harder to scratch up quick PoCs because borrow-checker - More complicated compilation model making it harder to understand, debug and implement workarounds when codegen goes south - Much smaller ecosystem - libraries, toolchains, tools, ... - False sense of security - by default it relies on the ecosystem whose runtime and its OS is implemented in "unsafe" languages - Cannot even live to its "safety" promise because hardest problems cannot be solved without unsafe sections I sincerely wish it was different but at this moment I am not convinced that Rust trade-offs are worth switching to it. This is the PoV coming from a system-level programming, very close to the OS, and with a lot of difficult memory and concurrency scaling issues.