Wird geladen...
Details zum E-Book
Einloggen wenn Sie am Inhalt des Artikels interessiert sind.
Rust for C++ Developers. Leverage your C++ expertise to write safer and faster systems code in Rust
Dan Olson
Wird geladen...
E-BOOK
Wird geladen...
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, memory management, 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.
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, memory management, 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.
- 1. Why Choose Rust?
- 2. Working with Rust Syntax
- 3. The Rust Safety Model
- 4. Managing Rust Projects with Cargo
- 5. Data Structures
- 6. Reading and Writing Files
- 7. Understanding Iterators
- 8. Object Orientation
- 9. Object Orientation Optimization
- 10. Working with C++ in Rust
- 11. Multithreading in Rust
- 12. Hygienic Macros
- 13. Putting it All Together
- 14. Appendix- Setting up a Development Environment
- Titel:Rust for C++ Developers. Leverage your C++ expertise to write safer and faster systems code in Rust
- Autor:Dan Olson
- Originaler Titel:Rust for C++ Developers. Leverage your C++ expertise to write safer and faster systems code in Rust
- ISBN:9781836206507, 9781836206507
- Veröffentlichungsdatum:2026-03-30
- Format:E-Book
- Artikel-ID: e_4izc
- Verleger: Packt Publishing
Wird geladen...
Wird geladen...