Find Related products on Amazon

Shop on Amazon

C++ to Rust Phrasebook

Published on: 2025-06-11 04:18:48

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 this book. This book was hand-written by expert C++ and Rust programmers at Brown University's Cognitive Engineering Lab. Our goal is provide accurate information with a tasteful degree of detail. No text in this book was written by AI. If you would like updates on when we add new chapters to this book, you can drop your email here. If you have zero Rust experience, you might consider first reading The Rust Programming Language or getting a quick overview at Learn X in Y Minutes. If you are primarily an embedded systems programmer usi ... Read full article.