retirez en magasin sous 2h
magasin dès le lendemain
4 fois sans frais par carte bancaire
sous 30 jours
Dernières recherches
ebook
Le saviez vous ?
Lisez votre e-book sur ordinateur, tablette et mobile grâce aux applications :
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 :
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 InterfaceWho 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.