Black Friday Deals For Authors Are On Now!

Leanpub Header

Skip to main content

Filters

Category: "Rust"

Rust

New to Rust? Read the Rust article

  1. microVMs from Scratch
    microVMs from Scratch
    KVM, virtio and Firecracker in Rust
    Ishwor Gurung

    Build a tiny virtual machine monitor in Rust, from raw KVM calls to booting Linux with virtio devices, then see how Firecracker does it in production.

  2. Rust for Systems Programming: From Memory Fundamentals to High-Performance Software
    Rust for Systems Programming: From Memory Fundamentals to High-Performance Software
    A comprehensive guide to building reliable, secure and efficient systems software with Rust
    Steve Publications

    Ready to move beyond the basics of Rust? This book takes you inside the language, from ownership and memory management to concurrency, networking and performance optimization. Build real systems projects, learn to track down tricky bugs and gain the skills to write Rust software that is fast, secure and reliable.

  3. 6502 Construction Set
    6502 Construction Set
    Write the machine that ran the eighties - A systems-programming apprenticeship in Rust.
    Jason Hogg

    Write the processor that powered the BBC Micro, the Commodore 64, the NES and the Apple II. Thirty builds take you from LDA #$48 to a cycle-accurate 6502 emulator in Rust that passes all three standard conformance suites and finishes by running a complete 6502 chess program. Written for developers.

  4. Mastering Rust: From Beginner to Advanced Level
    Mastering Rust: From Beginner to Advanced Level
    A Complete Guide to Safe, Concurrent, High-Performance Programming
    Steve Publications

    Go from your first line of Rust to building fast, safe, and production-ready applications with confidence. This practical guide explains every essential language feature, modern development tools, and key ecosystem crates through clear explanations and real-world examples, helping you write idiomatic, efficient and maintainable Rust code from day one.

  5. Advanced Rust Programming
    Advanced Rust Programming
    From Mastery to Expert Systems Craft
    Steve Publications

    Advanced Rust Programming goes beneath Rust’s safe surface to reveal the machinery that makes high-performance systems possible. Explore unsafe contracts, atomics, async internals, FFI, allocators and more through practical examples that sharpen your instincts and help you build faster, safer production-grade software.

  6. Rust for LLM Inference
    Rust for LLM Inference
    Building High-Performance LLM Inference Engine from Scratch
    Steve Publications

    Learn how modern LLM inference engines work by building one from scratch in Rust. From transformers and tokenization to KV caching, quantization, batching, and GPU optimization, this book combines theory, hands-on code, and performance engineering to help you create fast, production-ready AI systems.

  7. Building a Hypervisor in Rust
    Building a Hypervisor in Rust
    From First Principles to a Full Virtualization Platform
    Steve Publications

    Build a complete x86_64 hardware-assisted hypervisor in Rust from the ground up. Through real, compilable code and clear explanations, you'll implement every major subsystem, from CPU and memory virtualization to device emulation, VirtIO, and multi-vCPU scheduling, gaining a practical understanding of modern virtualization.

  8. Rusty Graphs - AI Ready Graphs for Rust Developers

    Language models guess. Knowledge graphs know. Rusty Graph shows you how to build a local AI agent whose memory is a real knowledge graph — typed, validated, reasoned over, and queryable with SPARQL — all inside a single static Rust binary. No JVM. No Docker sidecar. No Python runtime bolted to the side. You will build Ares a research-assistant agent that observes papers, forms beliefs, makes promises to other agents, and tracks the provenance of every fact it holds. Chapter by chapter, Ares grows from an empty Cargo workspace into a full pipeline: > load → reason → validate → query → answer All of it in under a thousand lines of idiomatic Rust, using three crates that actually work today: `oxigraph`, `reasonable`, and `rudof_lib`. `grapfeo` You will learn how to- Model a domain as RDF triples and load them into an embedded store. - Write RDFS and OWL 2 RL axioms that infer trust, identity, and inverse relationships — automatically. - Guard your graph with SHACL shapes that reject bad data at the boundary, not in production. - Query everything with SPARQL, from simple lookups to federated queries across named graphs. - Wire the graph into a hybrid RAG pipeline so your LLM answers are grounded in facts, not vibes. Who it is forRust developers building agents, assistants, or any system where the answer "the model said so" is not good enough. You should be comfortable with Cargo and traits. You do **not** need any prior semantic-web background — every concept is introduced through Ares before any formal definition appears. Why Rust, why nowLocal agents are the next deployment target: a user's laptop, a Raspberry Pi, a WASM sandbox. Python cannot go there comfortably. Rust can. This book is the missing manual for the Rust side of the semantic web — the one that tells you exactly which crates work, where the ecosystem is thin, and how to ship anyway. Stop hoping your model tells the truth. Give it a graph that does.

  9. Building Programming Languages with Rust
    Building Programming Languages with Rust
    From Lexers to LLVM: A Complete Guide to Language Implementation
    Steve Publications

    Learn how to build a modern programming language from scratch in Rust. By implementing a complete language called Rune, you will explore every stage of language design, from lexing and parsing to type checking, virtual machines, LLVM code generation, and developer tooling, with practical code and clear explanations throughout.

  10. Rust Programming in 2026
    Rust Programming in 2026
    SouthStone Publications

    A practical, example driven guide to modern Rust: ownership, traits, async I/O, and real projects like CLIs and web services. Twelve chapters take you from install to shipping confidently, plus a tour of Rust in WebAssembly, Python extensions, and embedded systems.

  11. Terminal Interfaces
    Terminal Interfaces
    Building Modern TUI Applications in Go, Python and Rust
    Steve Publications

    Build terminal apps that feel fast, polished and built to last. Terminal Interfaces takes you from the fundamentals of how terminals work to production-ready TUIs in Go, Python and Rust, using complete examples that grow from simple programs into powerful real-world tools.

  12. Implementing MicroVMs with Rust
    Implementing MicroVMs with Rust
    A Deep Dive into Virtualization, Linux KVM and Low-Level Systems Engineering
    Steve Publications

    Go beyond treating virtualization as a black box. Build a working MicroVM from scratch using Rust and Linux KVM, exploring everything from memory management and device emulation to VM exits and interrupt handling. A hands-on deep dive into the inner workings of hypervisors and the low-level engineering that makes modern cloud infrastructure possible.

  13. Building Database Engines from Scratch
    Building Database Engines from Scratch
    A Hands-On Guide to Storage, Concurrency, Query Processing, and Reliability in Systems Programming
    Steve Publications

    What really happens between typing a SQL query and getting a result? Build a database engine from the ground up in Rust and find out. You’ll work through storage, indexing, concurrency, recovery and query processing while turning each chapter’s code into one working system.

  14. From C to Rust
    From C to Rust
    Modernizing Production Systems Without Starting Over
    Steve Publications

    Modernize your C codebase without tearing it apart. From C to Rust is a practical guide to introducing Rust where it actually makes sense, building safe boundaries and migrating piece by piece while production keeps running. No hype, no clean-slate fantasy, just real tradeoffs, runnable examples and a path you can follow.

  15. Statistics with Rust, Third Edition
    Statistics with Rust, Third Edition
    Practical Statistics, Multivariate Methods, Reproducible Data Analysis and Machine Learning Pipelines
    GitforGits | Asian Publishing House

    We've put together this third edition, and it's the most hands-on version of the journey so far.You don't need to be a Rust expert to get started. If you know some statistics and have written a little code in any language, you already have what this book asks of you. We'll take our time with Rust, especially when it comes to ownership and borrowing, because these concepts are worth the effort. Whenever a library does something unexpected, I'll show you the surprise instead of hiding it.