
Effective Rust
35 Specific Ways to Improve Your Rust Code
David Drysdale(Author)
O'Reilly (Publisher)
Published on 12. April 2024
Book
Paperback/Softback
278 pages
978-1-0981-5140-9 (ISBN)
Description
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.
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
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
More details
Language
English
Place of publication
Sebastopol
United States
Target group
Professional and scholarly
Product notice
Paperback (trade)
Unsewn / adhesive bound
Dimensions
Height: 230 mm
Width: 175 mm
Thickness: 17 mm
Weight
524 gr
ISBN-13
978-1-0981-5140-9 (9781098151409)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

E-Book
04/2024
O'Reilly
€50.49
Available for download

Person
David Drysdale is a staff software engineer at Google and has been primarily working in Rust since 2019. He is the author of the Rust port of the Tink cryptography library and also led the project to replace Android's hardware cryptography library (KeyMint) with a Rust version. He has extensive prior experience in C/C++ and Go and has previously worked on projects as diverse as the Linux kernel, networking control plane software, and mobile video conferencing apps.