Rust's popularity is growing, due in part to features like memory safety, type safety, and thread safety. But these same elements can also make learning Rust a challenge, even for experienced programmers. This practical guide helps you make the transition to writing idiomatic Rust. In the process, you'll also make full use of Rust's type system, safety guarantees, and burgeoning ecosystem. If you're a software engineer who has experience with an existing compiled language, or if you've struggled to convert a basic understanding of Rust syntax into working programs, this book is for you. Effective Rust focuses on the conceptual differences between Rust and other compiled languages, and provides specific recommendations that programmers can easily follow. Author David Drysdale will soon have you writing fluent Rust, rather than badly translated C++. Effective Rust will help you: Understand the structure of Rust's type system, Learn Rust idioms for error handling, iteration, and more, Discover how to work with Rust's crate ecosystem, Use Rust's type system to express your design, Win fights with the borrow checker, Build a robust project that takes full advantage of the Rust tooling ecosystem.
Effective Rust : 35 Specific Ways to Improve Your Rust Code