
Rust Programming for Intermediate Developers: Error Handling, Lifetimes, Traits, and Concurrency (Rust Programming for Practical Software Development)
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Stop struggling with the borrow checker and start architecting robust systems.
You have learned the syntax. You have installed the toolchain. You have written your first few programs. But now you feel stuck. You might find yourself cloning data just to avoid dealing with lifetime annotations. You may be using unwrap() because proper error handling feels too verbose. You want to contribute to open-source projects, but the dense usage of traits and generics feels intimidating.
This is the intermediate plateau. This book is designed to help you break through it.
Rust Programming for Intermediate Developers moves beyond the basics of control flow and data structures to tackle the four pillars of advanced Rust mastery: Error Handling, Lifetimes, Traits, and Concurrency. This is not a reference manual; it is a practical guide to thinking like a Rust systems architect.
What You Will Learn:
- Advanced Error Handling: Move beyond basic Result types. Learn to design robust, context-rich error hierarchies using the thiserror and anyhow crates, distinguishing between library and application error patterns.
- Mastering Lifetimes: Demystify the syntax. Learn to write zero-copy parsers, handle self-referential structures, and use lifetime bounds to prove memory safety to the compiler without relying on excessive cloning.
- The Trait System: Unlock the power of polymorphism. Understand the trade-offs between static dispatch (generics) and dynamic dispatch (trait objects), and master advanced patterns like blanket implementations and marker traits.
- Fearless Concurrency: Go deep into the async/await ecosystem. Build scalable applications using Tokio, manage shared state with Mutex and Arc, and leverage data parallelism with Rayon.
This book focuses on the "why" and "how" of idiomatic Rust. It provides the missing link between writing code that compiles and writing code that is performant, maintainable, and professional.
Stop writing Rust-flavored C++. Start writing true Rust.
More details
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.