Your Cart
Loading

[Paperback] Rust In Practice, Third Edition: Concurrency, Memory Safety, GPU Computing, Linux Kernels, and Real-World Systems using Rust 1.85

On Sale
$27.99
$27.99
Added to cart

Whether you're just starting out or a fully-fledged Rust pro, this third Edition is a goldmine of knowledge about Rust. This book has been updated with Rust 1.85 and Rust 2024 Edition, and it takes you on a really structured learning path to write production-grade systems, async services, GPU compute kernels, Linux kernel modules, and Go-integrated libraries.


The book is built around a single, progressive application, and every chapter adds a functional layer to a real Linux system-metrics tool. The knowledge you gain from this book, is working and evolving codes that you can study, extend, and own. You'll get the hang of ownership and borrowing, handle the borrow checker, build concurrent and async programs with Tokio, manage memory without a garbage collector, and use Rust in domains that were once reserved exclusively for C and C++.

Whatever stage you're at, whether you're just starting out and writing your first function or you're a seasoned engineer migrating a critical service to Rust, this strong practically focussed book has got you covered.


Key Learnings

  • Dive in-depth into ownership model and eliminate memory bugs at compile time.
  • Build async, concurrent programs using Tokio without data races or deadlocks.
  • Design production-grade error types with ‘thiserror’ and ‘anyhow’ crates.
  • Write GPU compute kernels and monitor GPU metrics.
  • Integrate Rust libraries into existing Go applications via application binary interfaces.
  • Write a loadable Linux kernel module entirely.
  • Manage heap memory using Box, Rc, Arc, and smart pointer types.
  • Leverage Rust 2024 Edition's new safety rules and migration workflow.
  • Make use of Cargo workspaces, features, and optional dependencies to structure projects.


Table of Content

  1. Why Rust in 2025?
  2. Setting up Rust 1.85 Development Environment
  3. Core Language Essentials
  4. Structs and Data Modeling
  5. Enums, Pattern Matching, and Error Handling
  6. Ownership, Borrowing, Lifetimes, and Raw Pointers
  7. Packages, Crates, and Full Command Suite
  8. Rust Standard Library
  9. Smart Pointers and Memory Management
  10. Concurrency, Parallelism, and Async Programming
  11. Rust 2024 Edition
  12. Rust for GPU and CUDA Programming
  13. Rust for Go Developers
  14. Rust for Linux Kernel