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
Or read this on Hacker News
