Get the latest tech news

Show HN: I wrote a Rust book ending with a Redis clone


Learn Rust the practical way. Zero to Rust is a hands-on Rust programming book and ebook for backend and systems engineers who want to build real projects in Rust, not just read theory. A complete Rust tutorial that goes from ownership and lifetimes to async Rust with Tokio and a working Redis clone.Most Rust tutorials stop after ownership. This one doesn't.Zero to Rust takes you from first principles to building aconcurrent, persistent TCP key-value store β€” a minimal Redis β€”written entirely in Rust. πŸ“– Not sure yet? Read the free 20-page sample first ──────────────────────────────────What's inside (23 chapters):──────────────────────────────────Part I β€” The FoundationChapters 1–5: Why Rust exists, ownership, borrowing, lifetimesPart II β€” Modelling the WorldChapters 6–8: Structs, enums, traits, genericsPart III β€” Writing Robust CodeChapters 9–11: Error handling, iterators, smart pointersPart IV β€” Systems ProgrammingChapters 12–14: Concurrency, async Rust with TokioPart V β€” Project ArchitectureChapters 15–17: Macros, modules, testingPart VI β€” The CapstoneChapters 18–23: Build a concurrent Redis clone from scratch.TCP server, shared state, background expiry, disk persistence,CLI client, and a full test suite.──────────────────────────────────Written for engineers coming from Java, Python, or C++ and ambitious beginners, who want practical Rust, not academic Rust.──────────────────────────────────~20,000 words. All code examples included.This is a focused practical guide, not an encyclopedic reference. The broader Rust ecosystem, async traits in depth, WebAssembly, embedded, web frameworks, is yours to explore from this foundation.Less than the cost of a coffee.Keywords: learn Rust, Rust tutorial, Rust book, Rust ebook, Rust programming guide, systems programming, backend engineering, async Rust, Tokio, concurrency, Redis clone in Rust, TCP server, low-level programming, software engineering, coding for Java Python and C++ developers.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of clone

clone

Photo of redis

redis

Photo of Rust book

Rust book

Related news:

News photo

β€˜Queer Eye’ life coach Karamo Brown launches KΔ“, a wellness app featuring his AI digital clone

News photo

Eagle Computer: The rise and fall of an early PC clone

News photo

Redis 8.8: New array data structure, rate limiter, performance improvements