3 ms·
Modern C++ now has nearly all of Rust and other modern language features built in, some as flags. At the same time it has 30 years of ecosystem, cruft, and bad
by reilly3000 4y ago
Modern C++ now has nearly all of Rust and other modern language features built in, some as flags. At the same time it has 30 years of ecosystem, cruft, and bad habits. It’s entirely possible to write performant, memory safe C++, even in a functional style. It’s a bazooka, and won’t stop you from firing at your feet, but it is also the right tool for big jobs.
- hedora 4y agoThe last time I checked, there were only nascent efforts to add the borrow checker to C++. That's the main reason to implement in Rust (the others being syntactic sugar like match, ?, and, of course, the library ecosystem that learned from ~ C++17's mistakes).
- aulin 4y agoThe main problem with C++ is that it's too vast, it does everything and everyone has its very own choice of a subset of the language he should use. The result is codebases hard to navigate, code hard to undestand with lots of clever code and unintuitive syntax.
- snotrockets 4y agoIt still lacks memory safety.
- __jem 4y agoExcept... you know... the most important feature of Rust... the borrow checker.