- Hem
- Böcker
- Kurslitteratur
- Teknik, Industri & IT
- Rust Design Patterns (inbunden, eng)

Rust Design Patterns (inbunden, eng)
Whet...
Produktbeskrivning
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
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
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
| Format | Inbunden |
| Omfång | 256 sidor |
| Språk | Engelska |
| Förlag | Manning Publications |
| Utgivningsdatum | 2024-10-01 |
| ISBN | 9781633437463 |
Specifikation
Böcker
- Format Inbunden
- Antal sidor 256
- Språk Engelska
- Utgivningsdatum 2024-10-01
- ISBN 9781633437463
- Förlag Manning Publications
Leverans
Vi levererar ditt paket med Budbee, Instabox och DB Schenker. Frakten kostar 49 kr men handlar du för över 499 kr är det fri frakt. De exakta leveranstiderna för varje produkt ser du direkt på produktsidan och i kassan. När din order skickats får du en spårningslänk via e-post eller SMS.
Betalning
Hos oss betalar du tryggt via Avarda. Du kan välja mellan Swish, kort (VISA/MasterCard), faktura med 30 dagar eller konto för delbetalning. Alla köp sker krypterat och säkert.
Retur & reklamation
Som privatkund har du 14 dagars ångerrätt enligt distansavtalslagen. Retur kostar 49 kr och bokas via kundtjänst innan du skickar tillbaka varan. Återbetalning sker alltid via samma betalmedel du använde vid köpet.
Du har 3 års reklamationsrätt enligt konsumentköplagen. Vid godkänd reklamation står vi för returfrakten. Kontakta oss på [email protected] om du vill göra en retur eller reklamation, så guidar vi dig genom processen.
Specifikation
Böcker
- Format Inbunden
- Antal sidor 256
- Språk Engelska
- Utgivningsdatum 2024-10-01
- ISBN 9781633437463
- Förlag Manning Publications