Książka REPLACING C/C++ WITH RUST JARED TRENT

REPLACING C/C++ WITH RUST

A Practitioner's Guide to Memory Safety and Secure Systems

Autor: JARED TRENT
Język: Angielski
Oprawa: Miękka
Dostępność: Dostępna u dostawcy
Wysyłamy za 14-21 dni
140.59
Seventy percent of critical vulnerabilities in real-world software trace back to a single root cause...

Informacje o książce

Autor
Język
Angielski
Oprawa
Książka - Miękka
Data wydania
2026
strony
460
EAN
9798254144465
Enbook ID
51587248
Waga
786
Wymiary
191 x 235 x 24

Pełny opis

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 understand
  • A security engineer evaluating exactly which vulnerability classes Rust eliminates - and which it doesn't
  • An embedded or systems programmer assessing Rust as a drop-in replacement for existing components
  • A 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 examples
  • Master ownership, lifetimes, and borrowing in the context of real systems code
  • Rewrite vulnerable C components - string parsers, linked lists, thread pools, network daemons - in safe Rust from scratch
  • Analyze real CVEs and trace exactly where in Rust's compilation pipeline each bug would have been caught
  • Implement FFI boundaries to mix Rust safely with existing C and C++ code using bindgen, cbindgen, and the cxx crate
  • Build concurrent, async Rust systems using the Send/Sync trait system and Tokio
  • Integrate Rust's toolchain - Cargo, Clippy, Miri, and cargo-fuzz - into professional CI/CD pipelines
  • Develop 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.

Możesz być zainteresowany

77.46
89.01
41.51

Panoptic Sort

Oscar H. Gandy Jr.
125.15
53.36

Rust in Action

Tim McNamara
207.30
9.35

Historical Guide to Roman York

Chrystal Paul Chrystal
30.96

Learn Ionic 2

Joyce Justin
159.90
191.37
54.76

Goliath Must Fall

Louie Giglio
66.41

Klienci, którzy kupili tę książkę, kupili również

29.36
70.69

Perla, růže, vlčí mák

Karolína Jochová
25.38