3 ms·
If you are not already using C++, learn Rust instead.
by 29athrowaway 8y ago
If you are not already using C++, learn Rust instead.
- setr 8y agoCoincidentally, the author already has a response for you: https://ds9a.nl/articles/posts/cpp-rust-go/ https://ds9a.nl/articles/posts/cpp-rust-go/
- pcwalton 8y agoThis post makes the mistake of assuming that anybody in industry writes secure C or C++ code.
- deleted 8y ago[deleted]
- 29athrowaway 8y ago- Rust doesn't have to keep 30+ years of backwards compatibility. You can learn it. - C++ has hundreds of dialects to pick from. You'll spend time bikeshedding with coding standards, you'll spend time in meetings trying to get people to agree to a standard, you'll spend time trying to enforce the standard... - Rust makes reasonable decisions by default, and mutable/unsafe code is opt-in.
- enthd 8y agoWhy learn Rust over C++?
- dbcurtis 8y agoWell, my answer is this: Coming from the perspective on a Pythonista, C++ seems tedious and error-prone. Rust, on the other hand, is merely tedious -- which is progress of a sort, one has to admit.
- bhargav_ 8y agoCoincidentally, I personally started learning Rust as C++ was a lot more difficult to learn by myself. The Rust book[1] is a great resource as it makes learning pretty complex topics fairly easy to approach. Personally the thing that really sold me over was the "Building a guessing game" section, as it showed how to use the build system to pull in external libraries. I found these aspects specifically difficult to learn when learning C++. Plus, after learning Rust, I was able to go back to C++ and better understand it. Still have no clue about build systems though. [1]: https://doc.rust-lang.org/book/ https://doc.rust-lang.org/book/
- lone_haxx0r 8y agoAnd be treated badly by the Rust community for not agreeing with their political opinions.