Effective Rust by David Drysdale

Effective Rust

35 Specific Ways to Improve Your Rust Code

David Drysdale

O'Reilly Media · Print & ebook · May 7, 2024

Rust's popularity is growing, due in part to features like memory safety, type safety, and thread safety.

Buy on Amazon

We earn from qualifying purchases.

Who it’s for
Move from Rust syntax to working programs by learning its concepts, idioms, and ecosystem.
Genres
Programming Languages
Published
O'Reilly Media, May 7, 2024

About this book

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—while also making full use of Rust's type system, safety guarantees, and burgeoning ecosystem.

Continue reading

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. By focusing on the conceptual differences between Rust and other compiled languages, and by providing specific recommendations that programmers can easily follow, Effective Rust will soon have you writing fluent Rust, not just badly translated C++. - 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

Rust’s Type System

Move from Rust syntax to working programs by learning its concepts, idioms, and ecosystem.

Come here for

  • Rust’s type system, safety guarantees, and idioms for error handling and iteration
  • Guidance on the crate and tooling ecosystems

Expect

  • Specific recommendations for writing idiomatic Rust
  • Guidance on the borrow checker and expressing designs with types

Where it sits

Programming Languages70%

Percentages are BookFrontier’s reading of the book.

Publisher categories

  • Programming Languages
  • C Programming
  • Object-Oriented Programming
  • Parallel Programming
Show all 5 publisher categories
  • Open Source Development
Authors
David Drysdale
Publisher
O'Reilly Media
Published
May 7, 2024
Format
Print & ebook
Reading lane
Programming Languages