Intermediate Rust Techniques: Mastering Lifetimes, Traits, and Generic Programming Patterns

Intermediate Rust Techniques: Mastering Lifetimes, Traits, and Generic Programming Patterns
5,99€

ebook

Achat immédiat, sans abonnement.

Le saviez vous ?

Lisez votre e-book sur ordinateur, tablette et mobile grâce aux applications :


Vivlio et Cultura
partenaires pour vos
lectures numériques
Tout est synchronisé
grâce à votre compte
Cultura
Une aide en ligne pour
vous accompagner

Coups de cœur Cultura

Tous les passeurs de culture peuvent partager leurs découvertes !
Tu as aimé ce produit ? Partage dès maintenant ton coup de coeur :

loader
loader
loader
loader
loader
loader
loader
loader

description

descriptif du fournisseur

Stop Fighting the Compiler. Start Designing with It.

If you can write working Rust code but struggle with scalable, idiomatic systems design, this book is the bridge you need. Intermediate Rust Techniques moves you from functional competence to production-grade mastery, built around the three pillars of expert Rust: lifetimes, traits, and generics.

What You Will Learn

This book reframes the Rust compiler from an adversary into a collaborator. You will develop a precise mental model of how the borrow checker tracks paths, aliasing, and mutation. You will master the complete trait system, including dynamic dispatch, blanket implementations, and the orphan rules. You will wield generic programming, from higher-ranked trait bounds and phantom types to const generics and compile-time state machines, to build zero-cost abstractions that are architecturally impossible to misuse.

Topics Covered

Ownership at depth: non-lexical lifetimes, reborrowing, and interior mutability Trait objects, associated types, and advanced trait composition Generic API design, where clauses, and PhantomData for type-safe abstractions Type-level programming and compile-time protocol enforcement Production error-handling architecture with typed and opaque errors Fearless concurrency, async/await, and the Future trait internals Performance engineering: SIMD, cache-friendly data layout, and arena allocation Principled unsafe Rust and the Foreign Function Interface

Who This Book Is For

Written for developers with a working knowledge of Rust fundamentals who are ready to build production systems, design robust libraries, and write high-performance applications that are correct by construction.

By the final chapter, you will not just write Rust that compiles. You will write Rust that endures.

 
Intermediate Rust Techniques: Mastering Lifetimes, Traits, and Generic Programming Patterns

Intermediate Rust Techniques: Mastering Lifetimes, Traits, and Generic Programming Patterns


On vous recommande avec votre achat
Intermediate Rust Techniques: Mastering Lifetimes, Traits, and Generic Programming Patterns

Intermediate Rust Techniques: Mastering Lifetimes, Traits, and Generic Programming Patterns

5,99
+