Woile reviewed Rust for Rustaceans by Jon Gjengset
Review of 'Rust for Rustaceans' on 'Goodreads'
4 stars
Excellent book
Paperback, 280 pages
English language
Published Nov. 28, 2021 by No Starch Press, Incorporated.
For developers who’ve mastered the basics, this book is the next step on your way to professional-level programming in Rust. It covers everything you need to build and maintain larger code bases, write powerful and flexible applications and libraries, and confidently expand the scope and complexity of your projects.
Author Jon Gjengset takes you deep into the Rust programming language, dissecting core topics like ownership, traits, concurrency, and unsafe code. You’ll explore key concepts like type layout and trait coherence, delve into the inner workings of concurrent programming and asynchrony with async/await, and take a tour of the world of no_std programming. Gjengset also provides expert guidance on API design, testing strategies, and error handling, and will help develop your understanding of foreign function interfaces, object safety, procedural macros, and much more.
You'll Learn:
How to design reliable, idiomatic, and ergonomic Rust programs based on best principles Effective use of …
For developers who’ve mastered the basics, this book is the next step on your way to professional-level programming in Rust. It covers everything you need to build and maintain larger code bases, write powerful and flexible applications and libraries, and confidently expand the scope and complexity of your projects.
Author Jon Gjengset takes you deep into the Rust programming language, dissecting core topics like ownership, traits, concurrency, and unsafe code. You’ll explore key concepts like type layout and trait coherence, delve into the inner workings of concurrent programming and asynchrony with async/await, and take a tour of the world of no_std programming. Gjengset also provides expert guidance on API design, testing strategies, and error handling, and will help develop your understanding of foreign function interfaces, object safety, procedural macros, and much more.
You'll Learn:
How to design reliable, idiomatic, and ergonomic Rust programs based on best principles Effective use of declarative and procedural macros, and the difference between them How asynchrony works in Rust – all the way from the Pin and Waker types used in manual implementations of Futures, to how async/await saves you from thinking about most of those words What it means for code to be unsafe, and best practices for writing and interacting with unsafe functions and traits How to organize and configure more complex Rust projects so that they integrate nicely with the rest of the ecosystem How to write Rust code that can interoperate with non-Rust libraries and systems, or run in constrained and embedded environments
Brimming with practical, pragmatic insights that you can immediately apply, Rust for Rustaceans helps you do more with Rust, while also teaching you its underlying mechanisms.
Excellent book
I picked this up after finishing "The Rust Programming Language", in parallel with starting to write my own first crates and contributing to others. It's a great overview of the more advanced topics in the Rust ecosystem; not just the language itself but also the various libraries and tooling around, like cargo. I feel it's mostly useful to understand what's out there and where to look for more detail if needed. For example, if I need to benchmark code in more detail I know now which libraries and APIs will be relevant to me.
Since this book covers more advanced topics, it also talks a lot about non-stabilized APIs and features, so it ages a bit less well than TRPL; some of the content is already outdated after a good year. But that really shouldn't stop you from reading it, the concepts explained in this book are still super relevant. …
I picked this up after finishing "The Rust Programming Language", in parallel with starting to write my own first crates and contributing to others. It's a great overview of the more advanced topics in the Rust ecosystem; not just the language itself but also the various libraries and tooling around, like cargo. I feel it's mostly useful to understand what's out there and where to look for more detail if needed. For example, if I need to benchmark code in more detail I know now which libraries and APIs will be relevant to me.
Since this book covers more advanced topics, it also talks a lot about non-stabilized APIs and features, so it ages a bit less well than TRPL; some of the content is already outdated after a good year. But that really shouldn't stop you from reading it, the concepts explained in this book are still super relevant.
"By the way" the author also has great video material on youtube with deep dives into various aspects of Rust, so go have a look at that too! :)