C++ to Rust Phrasebook - C++ to Rust Phrasebook
C++ to Rust Phrasebook
C++ to Rust Phrasebook
This book is designed to help C++ programmers learn Rust. It provides translations of common C++ patterns into idiomatic Rust. Each pattern is described through concrete code examples along with high-level discussion of engineering trade-offs.
The book can be read front-to-back, but it is designed to be used random-access.
When you are writing Rust code and think, "I know how to do this in C++ but not Rust," then
look for the corresponding chapter in...
Read more at cel.cs.brown.edu