This is a hands-on, pragmatic introduction to Rust that doesn't hide behind theory. The book opens with real-world motivations-why Rust matters for systems programming, networking, and concurrent services-then guides you step by step from toolchain setup to idiomatic Rust: ownership and borrowing, pattern matching, traits and generics, the standard library, error design, and safe concurrency. Each concept is paired with compact, runnable examples and small projects, from a command-line utility to a concurrent file indexer, so you immediately apply what you learn.Special sections demystify lifetimes with visual explanations, show how to design reliable error-handling patterns, and teach you to profile and optimize Rust programs for speed and efficiency. Inside the book: clear explanations of key Rust concepts, 30+ worked code examples, end-of-chapter exercises, dedicated chapters on debugging and testing, a complete mini-project (a CLI tool published as a crate), and practical guidance for publishing and maintaining your own Rust libraries. By the end, you'll have the confidence to write memory-safe, high-performance Rust that's ready for production services and system tools. What you'll gain: A practical grasp of ownership, borrowing, and lifetimes. Real projects: CLI tools, a small web client, and a concurrent worker. Guidance on FFI, testing, benchmarking, and publishing.
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $20. ThriftBooks.com. Read more. Spend less.