-
Book Overview & Buying
-
Table Of Contents
Rust for C++ Developers
By :
Rust for C++ Developers
By:
Overview of this book
If you're a C++ programmer curious about the rising popularity of Rust, this book will guide you through the transition with clarity and purpose. Written by a veteran C++ developer who embraced Rust to improve software quality and maintainability, this hands-on guide shows you how to apply your existing knowledge to build efficient and safe systems with Rust.
The first half of the book deep dives into Rust’s history, safety guarantees, and development tooling. From there, the book compares Rust and C++ side by side, covering syntax, SIMD instructions, file I/O, object orientation, and data structures. With each chapter, you’ll gain a practical understanding of Rust’s unique approaches—like ownership and borrowing—and how they solve long-standing challenges in C++.
Later half of the book tackles performance optimization, multithreading, macros, and foreign function interfaces, culminating in a complete project where you reimplement a C++ program in Rust. By focusing on real-world code and familiar concepts, this book makes Rust accessible and actionable for experienced C++ developers.
By the end of Rust for C++ Developers, you’ll be confident in your ability to read, write, and maintain production-grade Rust code, and you’ll have a clear roadmap for integrating Rust into your future projects.
Table of Contents (20 chapters)
Preface
Chapter 1: Why Choose Rust?
Chapter 2: Working with Rust Syntax
Chapter 3: The Rust Safety Model
Chapter 4: Managing Rust Projects with Cargo
Part 2: Exploring the Rust Standard Library
Chapter 5: Data Structures
Chapter 6: Reading and Writing Files
Chapter 7: Understanding Iterators
Chapter 8: Object-Oriented Programming
Chapter 9: Working with C++ in Rust
Part 3: Moving into Advanced Rust
Chapter 10: Optimization in Rust
Chapter 11: Multithreading in Rust
Chapter 12: Metaprogramming with Macros
Chapter 13: Continuing with Rust
Chapter 15: Unlock Your Exclusive Benefits
Index
Appendix: Setting Up The Development Environment

