Gå direkt till innehållet
  1. Böcker
  2. Böcker på engelska

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

Författare:
engelska
66 kr
Lägsta pris på PriceRunner
Läs i Adobe DRM-kompatibel e-boksläsareDen här e-boken är kopieringsskyddad med Adobe DRM vilket påverkar var du kan läsa den. Läs mer

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 LearnThis 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 CoveredOwnership at depth: non-lexical lifetimes, reborrowing, and interior mutabilityTrait objects, associated types, and advanced trait compositionGeneric API design, where clauses, and PhantomData for type-safe abstractionsType-level programming and compile-time protocol enforcementProduction error-handling architecture with typed and opaque errorsFearless concurrency, async/await, and the Future trait internalsPerformance engineering: SIMD, cache-friendly data layout, and arena allocationPrincipled unsafe Rust and the Foreign Function InterfaceWho This Book Is ForWritten 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.

Författare
Felix Turner
ISBN
9798235596924
Språk
engelska
Utgivningsdatum
2026-04-15
Tillgängliga elektroniska format
  • Epub - Adobe DRM
Läs e-boken här
  • E-boksläsare i mobil/surfplatta
  • Läsplatta
  • Dator