Rust Design Patterns

Kniha ( pevná vazba )

E-shopové listy

Při zaslání zboží balíčkem

K nákupu nad 99 Kč dárek zdarma v hodnotě 19 Kč

E-shopové listy

Magazín Knihkupec

Při zaslání zboží balíčkem

K nákupu nad 249 Kč dárek zdarma v hodnotě 69 Kč

Magazín Knihkupec

Tips, tricks, design patterns, and secret features of Rust that will help you build stable and maintainable applications.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… Přejít na celý popis

K tomuto produktu zákazníci kupují

Popis

Tips, tricks, design patterns, and secret features of Rust that will help you build stable and maintainable applications.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 APIsThe Builder pattern to encapsulate data and perform initializationImmutable data structures that help you avoid hard-to-debug data race conditionsFunctional programming patternsAnti-patterns and what not to do in RustIdiomatic 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 technologyAfter 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 bookIdiomatic 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 insideCreating delightful APIsApplying Builder and other classic design patternsFunctional programming patternsRust anti-patternsAbout the readerFor intermediate Rust programmers.About the authorBrenden 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 ContentsPART 11 Rust-y patterns2 Rust’s basic building blocks3 Code flowPART 24 Introductory patterns5 Design patterns: Beyond the basics6 Designing a libraryPART 37 Using traits, generics, and structs for specialized tasks8 State machines, coroutines, macros, and preludesPART 49 Immutability10 AntipatternsA Installing Rust

Sdílet

Nakladatel
Manning Publications
Rozměr
234 x 188 x 16
jazyk
angličtina
Vazba
pevná vazba
Hmotnost
480 g
isbn
978-1-63343-746-3
Počet stran
256
datum vydání
1.10.2024
ean
9781633437463

Hodnocení a recenze čtenářů Nápověda

0.0 z 5 0 hodnocení čtenářů

0× 5 hvězdiček 0× 4 hvězdičky 0× 3 hvězdičky 0× 2 hvězdičky 0× 1 hvezdička

Přidejte své hodnocení knihy

Vývoj ceny

Vývoj ceny Nápověda

Získejte přehled o vývoji ceny za posledních 60 dní.

Maloobchodní cena Minimální prodejní cena: 1 980 Kč Nápověda

Články, které stojí za pozornost

Zobrazit blog

Články, které stojí za pozornost