Rust Functional and Reactive Programming isn't just a reference, it's your definitive playbook for building scalable, high-performance reactive systems with zero-cost abstractions, pattern-matched streams, algebraic data types, and seamless Tokio integration. From end-to-end async pipelines to GUI FRP, WebAssembly, and embedded firmware, this book equips you with the patterns, practices, and deep-dive strategies to deliver mission-critical Rust applications with confidence. What You'll Learn ✔ Declarative Stream Processing - Master Stream and Sink combinators (map, filter_map, select) for type-safe, pattern-matched pipelines - Unpack and route enum variants in-flight with filter_map and select ✔ Algebraic Data Types & Error Modeling - Encode domain logic in enum-based ADTs, Result, and Option for exhaustiveness and clarity - Build custom error enums, propagate with ?, and apply try_filter_map for resilient streams ✔ Tokio Integration & Concurrency - Fuse zero-cost async/await with Tokio's multi-threaded executor, spawn, and spawn_blocking - Coordinate channels (mpsc, broadcast, watch) and time-based combinators (interval, debounce, throttle) ✔ Reactive Feedback & State Management - Implement feedback loops without deadlock using scan, unfold, and delayed boundaries ✔ Performance & Resilience Patterns - Optimize zero-cost abstractions with LTO, inlining, and sharded locks - Apply retries with backoff, circuit breakers, and bulkheads to safeguard against cascading failures ✔ Cross-Platform FRP - Drive GUI applications with Iced, Druid, or relm4 using streams and signals for 60 fps responsiveness - Compile to WebAssembly (Yew, Sycamore) for reactive browser apps with minimal overhead - Target embedded devices (RTIC, Embassy) using heapless buffers and interrupt-driven event streams Who This Book Is For - Rustaceans building high-throughput backends and data pipelines - Systems engineers crafting real-time GUIs or embedded firmware with FRP - WebAssembly developers seeking reactive patterns in the browser - Software architects standardizing scalable, maintainable async-reactive codebases Packed with end-to-end examples, reusable code snippets, and production-tested templates, Rust Functional and Reactive Programming is the essential guide to mastering reactive architectures where every event, state change, and cycle truly counts.
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $20. ThriftBooks.com. Read more. Spend less.