Skip to content

Booksellers & Trade Customers: Sign up for online bulk buying at trade.atlanticbooks.com for wholesale discounts

Booksellers: Create Account on our B2B Portal for wholesale discounts

Rust Functional Programming: An In-Depth Guide to Safe, Concurrent & Maintainable Rust with Pure Functions, ADTs, Pattern matching and Zero-Cost Abstr

by Kevin D. Martel
Sold out
Current price ₹1,667.00
Original price ₹1,879.00
Original price ₹1,879.00
Original price ₹1,879.00
(-11%)
₹1,667.00
Current price ₹1,667.00

Imported Edition - Ships in 18-21 Days

Free Shipping in India on orders above Rs. 500

Request Bulk Quantity Quote
+91
Book cover type: Paperback
  • ISBN13: 9798292979906
  • Binding: Paperback
  • Subject: N/A
  • Publisher: Independently Published
  • Publisher Imprint: Independently Published
  • Publication Date:
  • Pages: 172
  • Original Price: GBP 14.91
  • Language: English
  • Edition: N/A
  • Item Weight: 282 grams
  • BISAC Subject(s): Programming / General

Kickstart your journey into Rust's functional world with this hands-on guide. You'll learn to think in pure functions, model domains with algebraic data types, and compose zero-cost abstractions, building the confidence to create safe, concurrent, and maintainable applications from day one.

What You'll Learn

- Embrace pure functions and side-effect isolation using Result, Option, and functional error pipelines

- Model complex domains with structs and enums, capturing business invariants in ADTs

- Harness exhaustive pattern matching and advanced destructuring to handle every case at compile time

- Build custom error types and chain failures elegantly with the ? operator and combinators

- Design zero-cost abstractions via generics, monomorphization, and traits as type-classes

- Master lazy, composable iterator chains and craft your own iterator adaptors for efficient data flows

- Leverage async/await and futures for non-blocking I/O, then offload CPU-bound work to Rayon's parallel iterators

- Navigate Rust's concurrency guarantees with Send and Sync, scoped thread pools, and safe shared state

- Encapsulate side effects in adapter layers-keeping your core logic pure and fully testable

- Test, benchmark, and validate: unit tests, property-based tests, integration tests, and Criterion benchmarks

Hands-On Projects

- Split a CLI into two crates-pure core logic and I/O adapter-proving zero side-effects in tests

- Build an AST for a mini expression language, implement a fold-style evaluator and precedence-aware pretty-printer

- Develop an in-order iterator for a generic binary tree plus an in-place map_tree function with zero heap allocations

- Create an async pipeline that fetches JSON from multiple endpoints, validates payloads, and transforms data in parallel with Rayon

- Construct a mini-service crate exposing pure request/response APIs, wrap it with a Tokio-powered adapter, and trace every call

- Implement custom error-handling pipelines, leveraging thiserror and structured logging for clear diagnostics

Who This Book Is For

- Rust developers moving from imperative to functional styles, eager to harness purity and ADTs

- Systems engineers building concurrent services without sacrificing safety or performance

- Library authors crafting zero-cost abstractions and domain-specific APIs that are easy to test and evolve

- Students and self-learners seeking a practical, project-driven path through Rust's functional programming features

Take the first step toward mastering functional Rust. Design systems that are safe by construction, data flows that scale on multi-core machines, and codebases that remain clear, testable, and resilient over time.

Trusted for over 49 years

Family Owned Company

Secure Payment

All Major Credit Cards/Debit Cards/UPI & More Accepted

New & Authentic Products

India's Largest Distributor

Need Support?

Whatsapp Us