Tasuta kohaletoimetamine tellimustele üle 29 €
  • check 10+ miljonit raamatut
  • check Uued tooted iga päev
  • check Meid usaldab üle 1 miljoni kliendi
  • check Hea hind ja allahindlused
  • check Tarne üle kogu Euroopa

Rust Functional Programming An In-Depth Guide to Safe, Concurrent & Maintainable Rust with Pure Functions, ADTs, Pattern Matching and Zero-Cost Abstractions - KEVIN. D. MARTEL

inglise keel
2025-07-17
19,25 € 32,08 €

-40% koodiga BOOKS

Meie tarnija laos

Saadetis 10-16 tööpäeva jooksul

30-päevane tagastamisõigus

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 pipeli ... Täielik kirjeldus

Võib-olla meeldib sulle ka

Kirjeldus

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.

Lisateave

Autor KEVIN. D. MARTEL
Kirjastaja Amazon Digital Services LLC - Kdp
Väljalaskeaasta 2025
Kaanetüüp Pehme kaanega
EAN 9798292979906
Kirjuta oma arvustus
Te vaatate: Rust Functional Programming An In-Depth Guide to Safe, Concurrent & Maintainable Rust with Pure Functions, ADTs, Pattern Matching and Zero-Cost Abstractions
Teie hinnang:

Goodreads'i arvustused

19,25 € 32,08 €