C++ to Rust Phrasebook
34 points by LesleyLai
34 points by LesleyLai
This is excellent. And while it’s phrased in the C++ to Rust direction, if I wanted to learn C++ better I’d use it in the other direction.
The book doesn’t seem to mention that Rust field drop order is opposite of C++. From my personal experience I think this should be in bold red letters in the destructors chapter.
Brown loves making great Rust resources. I read their version of the Rust book (https://rust-book.cs.brown.edu/) to learn Rust and it has some great visualizations that explain borrow-checking/permissions so well. The intro undersells the improvements.