| Management number | 231606807 | Release Date | 2026/06/18 | List Price | $8.58 | Model Number | 231606807 | ||
|---|---|---|---|---|---|---|---|---|---|
| Category | |||||||||
Are You a C Developer Who Writes Firmware, Drives Hardware, or Ships Safety-Critical Code — and Ready to Stop Fighting Memory Bugs?The shift is underway. The Linux kernel now accepts Rust alongside C. Microsoft is rewriting system components in Rust. The automotive industry is adopting Ferrocene — the ISO 26262-qualified Rust toolchain — for safety-critical embedded code. Aerospace and medical engineers are moving to Rust for IEC 61508 compliance.C has served systems programmers for fifty years. But the hidden costs — buffer overflows, dangling pointers, undefined behavior, data races in interrupt handlers — are increasingly expensive. Rust eliminates the entire category of memory safety bugs at compile time, with zero runtime overhead.Rust for C Developers is the definitive guide for C programmers ready to write systems code with compile-time memory safety guarantees.What Makes This Book DifferentMost Rust books assume object-oriented thinking. You do not think that way. You think in memory layouts, pointer arithmetic, register maps, and stack frames.Every concept maps directly from C: ownership versus malloc/free, borrows versus pointers, lifetimes versus pointer validity, traits versus function pointers and tagged unions, unsafe Rust versus the C you already write every day.What You Will MasterOwnership, Borrowing and Lifetimes — The three ownership rules that replace manual memory management. The borrow checker catches dangling pointers, use-after-free, and double-free bugs your C toolchain would never find. Lifetime annotations as compile-time pointer validity proofs.Structs, Enums and Pattern Matching — Rust enums as true sum types: safer than C tagged unions, exhaustively checked by the compiler. Option and Result replace NULL returns and errno patterns with types that cannot be silently ignored.Traits and Zero-Cost Abstractions — Generic code without macros. Trait objects for runtime polymorphism without vtable boilerplate. Abstraction that compiles to the same machine code as equivalent C.Unsafe Rust and FFI — The five unsafe operations and the strict discipline they require. Raw pointers, inline assembly, mutable statics, unions. Calling C from Rust and exposing Rust to C. Bindgen for automatic binding generation. Gradual migration strategies for real C codebases.Production Engineering — Benchmarking with Criterion. Profiling and SIMD optimization. Release profile tuning for size and speed. Structured logging with tracing. Metrics and observability for production systems.Embedded Rust — The no_std environment for bare-metal targets. Memory-mapped I/O and peripheral access crates. The embedded-hal abstraction layer for portable drivers. Interrupt handling. Real-time systems with RTIC. Async embedded with Embassy. Cross-compilation for ARM Cortex-M. Debugging with probe-rs and GDB.Safety-Critical Systems —Ferrocene: the ISO 26262 and IEC 61508 qualified toolchain for automotive, industrial, and medical applications. Watchdog timers, panic handlers, heapless fixed-size buffers, and the practices that separate firmware from firmware that ships.Who This Book Is ForC developers building embedded firmware, device drivers, or bare-metal systems. Systems engineers moving to Rust for memory safety without performance cost. Engineers in automotive, medical, or aerospace evaluating Rust for safety-critical work. Any C programmer who has shipped a memory bug and wants a compiler that prevents the next one.C gives you control. Rust gives you control and safety — enforced at compile time, with no garbage collector, no runtime, and no performance tax.Pick up Rust for C Developers and write firmware that cannot have buffer overflows. Read more
| ASIN | B0H269Z518 |
|---|---|
| ISBN13 | 979-8197400611 |
| Language | English |
| Publisher | Independently published |
| Dimensions | 6 x 0.51 x 9 inches |
| Item Weight | 14.1 ounces |
| Print length | 224 pages |
| Publication date | May 17, 2026 |
If you notice any omissions or errors in the product information on this page, please use the correction request form below.
Correction Request Form