Skip to content
Scan a barcode
Scan
Paperback Replacing C/C++ with Rust: A Practitioner's Guide to Memory Safety and Secure Systems Book

ISBN: B0GVLJRGWW

ISBN13: 9798254144465

Replacing C/C++ with Rust: A Practitioner's Guide to Memory Safety and Secure Systems

Seventy percent of critical vulnerabilities in real-world software trace back to a single root cause: memory safety errors. Buffer overflows. Use-after-free bugs. Data races. You've patched them. You've sanitized for them. You've lost weekends to them. Rust doesn't patch them - it makes them structurally impossible to write.

Replacing C/C++ with Rust is the guide written for engineers who already know systems programming deeply and are ready to stop fighting their compiler and start letting it fight for them.

This book is for you if you are...

A C or C++ developer who wants Rust's ownership model explained in terms you already understandA security engineer evaluating exactly which vulnerability classes Rust eliminates - and which it doesn'tAn embedded or systems programmer assessing Rust as a drop-in replacement for existing componentsA tech lead building the business case for incremental Rust adoption in a legacy codebase

What you'll learn:

Understand Rust's borrow checker through direct comparison with C/C++ pointer semantics - not toy examplesMaster ownership, lifetimes, and borrowing in the context of real systems codeRewrite vulnerable C components - string parsers, linked lists, thread pools, network daemons - in safe Rust from scratchAnalyze real CVEs and trace exactly where in Rust's compilation pipeline each bug would have been caughtImplement FFI boundaries to mix Rust safely with existing C and C++ code using bindgen, cbindgen, and the cxx crateBuild concurrent, async Rust systems using the Send/Sync trait system and TokioIntegrate Rust's toolchain - Cargo, Clippy, Miri, and cargo-fuzz - into professional CI/CD pipelinesDevelop a practical migration strategy using the Strangler Fig pattern for incremental adoption without a full rewrite

This isn't another Rust tutorial.

Most Rust books start from zero. This one starts from where you already are. Every concept is introduced with a side-by-side C/C++ comparison. Every chapter in Parts III and IV ends with a hands-on project: a real, known-vulnerable component rewritten in safe Rust. No fluff, no "hello world" padding - just the knowledge transfer a working systems engineer actually needs to ship production Rust.

The borrow checker will argue with you. That's its job. This book teaches you to listen to it.

Whether you're evaluating Rust for your team, migrating your first component, or trying to finally make ownership click - this is the book that bridges the gap between knowing C/C++ and thinking in Rust.

Recommended

Format: Paperback

Condition: New

$34.65
Save $1.02!
List Price $35.67
Ships within 2-3 days
Save to List

Customer Reviews

0 rating
Copyright © 2026 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks ® and the ThriftBooks ® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured