Leanpub Header

Skip to main content

Filters

Category: "Rust"

Books

  1. 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.

  2. 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.

  3. 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.

  4. Rust Projects - Write an Interpreter
    Rust Projects - Write an Interpreter
    Learn Rust while you explore the fascinating art of writing a programming language
    Leonardo Giordani

    Explore the power of Rust with "Rust Projects: Write an Interpreter". This hands-on guide takes you through building an implementation of the programming language Lox, invented by Robert Nystrom. The book will follow Robert Nystrom's book and the CodeCrafters challenge "Build your own Interpreter", and at the same time will help you to understand strengths and weaknesses of Rust. Whether you're new to Rust or looking to deepen your understanding, this project-based journey offers practical, real-world insights into modern coding. The book contains 40% discount code for CodeCrafters.io!

  5. 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.

  6. Rust CLI Mastery
    Rust CLI Mastery
    Build Production-Ready Command-Line Tools
    Rajeev Edmonds

    Go beyond Rust fundamentals. Learn to design, build, test, and ship reliable command-line applications through practical examples and four complete capstone projects.

  7. Rust for Linux Programming
    Rust for Linux Programming
    Build kernel modules, drivers, file systems, networking, and memory using Rust's ownership, traits, and RAII
    GitforGits | Asian Publishing House

    I wrote this book to show exactly what happens when you add Rust to the kernel. Not as a toy. Not as a single driver in a conference demo. It's a full module that covers process management, memory allocation, file systems, networking, device drivers, inter-process communication, and even machine learning inference. It's all built on safe abstractions, all compiled into one loadable binary, all tested on a running kernel. You'll find that each chapter adds new source files to the same module.

  8. Rust for Java Developers

    "Your Java microservice runs in 2GB of memory. The same service in Rust? 200MB. Scale that across 100 instances in production, and you're looking at $3,000/month in savings. But it's not just about money—it's about predictability. While Java's garbage collector unpredictably pauses your latency-critical workloads, Rust guarantees deterministic performance. This book teaches you Rust from a Java developer's perspective: same powerful type system, same design patterns, but with compile-time safety that prevents entire categories of bugs. No more race conditions in concurrent code. No more null pointer exceptions. Just code that works, fast."

  9. Using Linux for Software Development
    Using Linux for Software Development
    A Complete Beginner-to-Advanced Guide
    Steve Publications

    From the Linux basics to advanced development workflows, this practical guide shows you how to turn Linux into a powerful software development environment. Learn the command line, work with popular programming languages, use containers and CI/CD, debug and profile applications and build skills you can use every day.

  10. Building a Rust Language Server
    Building a Rust Language Server
    A Complete Guide to Implementing LSP in Rust
    Steve Publications

    Build a real language server from the ground up in Rust. Learn how LSP works, then turn parsing, analysis and async Rust into autocomplete, diagnostics, go-to-definition, refactoring and more. By the end, you’ll have a production-ready server that works with VS Code, Neovim and other modern editors.

  11. Writing GPU Kernels with CUDA Rust
    Writing GPU Kernels with CUDA Rust
    A Practical Guide to High-Performance GPU Computing from Rust
    Steve Publications

    Unlock NVIDIA GPU performance from Rust. This practical guide takes you from GPU architecture and memory hierarchies to writing and optimizing real CUDA Rust kernels. Explore both official Rust CUDA approaches with runnable examples and learn how to build fast, production-ready GPU code without giving up Rust’s safety and clarity.

  12. Rust Projects - Write a Redis Clone
    Rust Projects - Write a Redis Clone
    Explore asynchronous programming with the actor model using Rust and Tokio
    Leonardo Giordani

    Explore the power of Rust with "Rust Projects: Write a Redis Clone". This hands-on guide takes you through building a Redis-inspired database from the ground up, introducing key programming concepts like TCP connections, the RESP protocol, and concurrency. Following the CodeCrafters challenge, this book gradually builds your skills, making complex topics accessible. Whether you're new to Rust or looking to deepen your understanding, this project-based journey offers practical, real-world insights into modern systems programming. The book contains 40% discount code for CodeCrafters.io!

  13. Modern Web Development with Rust and Axum
    Modern Web Development with Rust and Axum
    Building Production-Grade APIs and Services
    Steve Publications

    Build production-ready web services with Rust and Axum. Follow Taskflow, a practical task management API, from the basics through authentication, databases, real-time features, observability and deployment. With code examples, you’ll learn how the pieces fit together and gain the skills to build reliable Rust APIs.

  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. 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.