Everything a C++ programmer needs to know when coming to Rust

I don't mean to bash on C++. After all I am still using it and I don't see that stopping any time soon.

But this presentation by Jason Turner at CppCon 2018 seems to sum up very well the reason why many of us are here: “Surprises in Object Lifetime”: https://www.youtube.com/watch?v=uQyT-5iWUow

Perhaps it answers that question many new comers to Rust have in the back of their minds: "Why is it so hard to write anything in Rust?"

In short, because if one fixes all the surprises Jason is talking about there one ends up with a language like Rust!

5 Likes

It's always unsatisfactory having to switch from Rust to language X to achieve task T. Rust did it so well, and is a pleasure to code in.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.