News for hackers. Stuff that matters.
Re:Modern C++ for C Programmers by enthd on Tuesday April 30, 2019 @08:52PM (#19793523)
Why learn Rust over C++?
Re:Modern C++ for C Programmers by dbcurtis on Tuesday April 30, 2019 @08:59PM (#19793582)
Well, 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.
Re:Modern C++ for C Programmers by bhargav_ on Tuesday April 30, 2019 @09:08PM (#19793642)
Coincidentally, 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/