Idiomatic Rust: Code like a Rustacean
Language: English
Published by Manning, 2024
- Softcover
- New

Seller: Russell Books, Victoria, BC, CanadaRussell Books
AbeBooks seller since June 1, 1996
Condition: New
US$ 71.99
Quantity: 4 available
Add to basketItem description from seller
Special order direct from the distributor.
Seller Inventory # ING9781633437463
- Title
- Idiomatic Rust: Code like a Rustacean
- Author
- Matthews, Brenden
- Publisher
- Manning
- Publication year
- 2024
- Condition
- New
- Binding
- paperback
- Language
- English
- ISBN 10
- 1633437469
- ISBN 13
- 9781633437463
Whether you’re a Rust beginner or a pro, Idiomatic Rust will teach you to be a better Rust programmer. It introduces essential design patterns for Rust software with detailed explanations, and code samples that encourage you to get stuck in.
In Idiomatic Rust you’ll learn how to apply important design patterns including:
- Fluent interfaces for creating delightful APIs
- The Builder pattern to encapsulate data and perform initialization
- Immutable data structures that help you avoid hard-to-debug data race conditions
- Functional programming patterns
- Anti-patterns and what not to do in Rust
Idiomatic Rust catalogs, documents, and describes both how classic design patterns work with Rust, and the new Rust-specific patterns that will help you master the language. Each pattern or best practice helps solve common programming problems and ensure your code is easy for others to understand. You’ll learn when to use each pattern—and when to break it! You’ll soon be producing higher-quality Rust code and higher-quality Rust software.
About the technology
After you’re comfortable with Rust’s syntax and its uniquely-powerful compiler, there’s a whole new dimension to explore as you put it to use in real projects. How do you apply standard design patterns in Rust applications? Where and why should you use IntoIterator? Why do Rustaceans love the PhantomData type? This book answers these questions and many, many more.
About the book
Idiomatic Rust introduces the coding and design patterns you’ll need to take advantage of Rust’s unique language design. This book’s clear explanations and reusable code examples help you explore metaprogramming, build your own libraries, create fluent interfaces, and more. Along the way, you’ll learn how to write efficient, idiomatic Rust code that’s easy to maintain and evolve as you learn how the language works under the hood.
What's inside
- Creating delightful APIs
- Applying Builder and other classic design patterns
- Functional programming patterns
- Rust anti-patterns
About the reader
For intermediate Rust programmers.
About the author
Brenden Matthews is a member of the Apache Software Foundation, creator of the system monitor Conky, and author of Code Like a Pro in Rust.
The technical editor on this book was Alain M Couniot.
Table of Contents
PART 1
1 Rust-y patterns
2 Rust’s basic building blocks
3 Code flow
PART 2
4 Introductory patterns
5 Design patterns: Beyond the basics
6 Designing a library
PART 3
7 Using traits, generics, and structs for specialized tasks
8 State machines, coroutines, macros, and preludes
PART 4
9 Immutability
10 Antipatterns
A Installing Rust
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
Russell Books
Victoria, BC, Canada
AbeBooks seller since June 1, 1996
Shipping rates from Canada to U.S.A.
| Item | 7 to 14 business days | 5 to 7 business days |
|---|---|---|
| First item | US$ 19.99 | US$ 24.99 |
Payment methods
Seller's business information
Russell Books
100-747 Fort St.
Victoria, BC Canada V8W 3E9
Terms of sale
For assistance with billing questions, please refer to our help page in abebooks. If you cannot find the answers you are seeking or have questions about your order you can contact us by emailing info@russellbooks.com. Responses to emails will be provided as soon as possible. For further information - (250) 361-4447
Shipping terms
Shipping prices are based on books weighing 2.2 LB, or 1 KG. Canadian and U.S. orders sent with Automated Package Tracking and delivery confirmation, where available. If your book order is heavy or oversized, we may contact you regarding any extra shipping costs. Thank you! - Russell Books