Rust: Systems Programming Without Fear cover

Programming · Ebook

Rust: Systems Programming Without Fear

by Shriira Press

4.3(1,292)93 pagesPublished 2026

A comprehensive, self-contained guide to Rust, the language that delivers the holy grail of systems programming: the speed and control of C/C++ with the safety of a high-level language — and no garbage collector. Rust catches whole classes of bugs (use-after-free, data races, null dereferences) at compile time, through its famous ownership system, while compiling to fast native code. This book takes you from "never written Rust" to confidently building real programs: the core language, the ownership model that makes Rust unique, its expressive type system and error handling, concurrency, async, and the tooling and ecosystem that make Rust a joy to ship with. It blends intuition (why each feature exists), concepts (how the compiler thinks), and runnable code.

Contents

  1. 1Preface
  2. 2Chapter 1 — What Is Rust?
  3. 3Chapter 2 — Getting Started: Cargo, Tooling, and a First Program
  4. 4Chapter 3 — Core Language: Types, Functions, and Control Flow
  5. 5Chapter 4 — Ownership, Borrowing, and Lifetimes
  6. 6Chapter 5 — Structs, Enums, and Pattern Matching
  7. 7Chapter 6 — Error Handling: Result, Option, and panic
  8. 8Chapter 7 — Generics, Traits, and Trait Objects
  9. 9Chapter 8 — Collections, Iterators, and Closures
  10. 10Chapter 9 — Modules, Crates, and the Ecosystem
  11. 11Chapter 10 — Smart Pointers and Memory
  12. 12Chapter 11 — Concurrency and Parallelism
  13. 13Chapter 12 — Async Rust and Systems Programming
  14. 14Chapter 13 — Testing, Tooling, and the Profession
  15. 15Appendix A — Glossary and Quick Reference
  16. 16Appendix B — Further Reading and Resources