Leanpub Header

Skip to main content

The Ultimate Rust Bundle

Ready to go beyond the basics of Rust? This 12-book bundle takes you from mastering the language to building real-world systems, web servers, compilers, debuggers, hypervisors and high-performance AI inference engines. Explore the inner workings of Rust, tackle challenging projects and gain the skills to build software that is fast, safe and reliable. Whether you're sharpening your existing skills or exploring new areas of systems programming, there's plenty here to keep you building.

Bought separately

$404

Minimum price

$199

$249

You pay

Author earns

$

Also available for 7 book credits with a Reader Membership

These books have a total suggested price of $404. Get them now for only $199!
About

About

About the Bundle

Take your Rust skills to the next level with this collection of 12 books covering everything from the fundamentals of the language to advanced systems programming, AI infrastructure, web development and low-level hardware. Whether you are learning Rust, building production software or exploring how things work under the hood, this bundle offers a practical path to deeper knowledge.

Mastering Rust: From Beginner to Advanced Level starts with the basics and takes you through the core language features, standard library, tooling and ecosystem, helping you write safe, efficient and maintainable Rust code.

Advanced Rust Programming goes deeper into the language, covering topics like memory layout, trait resolution, atomics, async internals, unsafe Rust, FFI and performance optimization.

Rust for LLM Inference explores how to build large language model inference engines from scratch, including transformer architecture, tokenization, attention, quantization, GPU optimization and production deployment.

Rust for Systems Programming focuses on building reliable and high-performance systems software. Through hands-on projects, you will work with memory management, concurrency, binary file parsing, networking and C interoperability.

Rust from Sockets to Servers takes you beyond web frameworks to explore how servers work internally. You will build a web server from raw TCP sockets and work through HTTP, TLS, routing, middleware, testing and deployment.

Modern Web Development with Rust and Axum shows you how to build production-ready APIs and web services, covering authentication, databases, real-time communication, observability, testing and containerized deployment.

Inside the Debugger: Building a Source-Level Debugger in Rust walks you through building a debugger from scratch, exploring processes, memory, breakpoints, registers, stack unwinding and DWARF debug information along the way.

Building a Hypervisor in Rust takes you into hardware-assisted virtualization, where you will learn to work with CPU virtualization, memory isolation, virtual devices, interrupts and virtual machine scheduling.

Building Programming Languages with Rust guides you through creating your own programming language, from lexing and parsing to type systems, interpreters, virtual machines, native code generation and developer tools.

Writing GPU Kernels with CUDA Rust introduces GPU architecture and parallel computing, showing you how to write and optimize GPU kernels using CUDA Rust while making the most of Rust's safety and expressive type system.

Building a Rust Language Server covers the development of language-aware tools for modern code editors, including autocomplete, go-to-definition, diagnostics, hover documentation and refactoring support.

From C to Rust offers a practical approach to modernizing existing C codebases without starting over, with guidance on interoperability, gradual migration, safety boundaries and keeping production systems running throughout the process.

Together, these books cover a wide range of Rust development, from writing your first programs to building web services, compilers, debuggers, hypervisors and AI inference systems. With a strong focus on practical examples and real engineering challenges, this bundle is a useful resource for developers who want to understand Rust more deeply and put that knowledge to work.

Books

About the Books

Mastering Rust: From Beginner to Advanced Level

Mastering Rust: From Beginner to Advanced Level

A Complete Guide to Safe, Concurrent, High-Performance Programming

This book takes you from zero Rust knowledge to expert-level proficiency. It teaches every core language feature, the standard library, modern tooling, and the most important ecosystem crates through complete, production-quality examples. You will learn not only how Rust works but why it is designed this way, so that writing safe, idiomatic, efficient, and maintainable Rust becomes second nature.

Advanced Rust Programming

Advanced Rust Programming

From Mastery to Expert Systems Craft

This book takes experienced Rust developers beyond ownership, borrowing, and basic concurrency into the deep machinery of the language — variance, memory layout, trait resolution, atomic operations, async internals, unsafe contracts, FFI boundaries, allocator design, and performance engineering. Each chapter builds precise mental models with complete, compilable examples, explaining not only how features work but why they exist, when to use them, what trade-offs they entail, and how they compose into production-grade systems.

Rust for LLM Inference

Rust for LLM Inference

Building High-Performance LLM Inference Engine from Scratch

This book is a complete guide to understanding and building large language model inference engines in Rust. It takes you from the mathematical foundations of the transformer architecture through tokenization, attention mechanisms, KV caching, quantization, batching strategies, GPU and CPU optimization, distributed serving, and production deployment. Along the way, you will see idiomatic Rust code examples, performance benchmarks, comparisons with leading frameworks like vLLM, TGI, llama.cpp, Candle, Burn, and mistral.rs, and practical insights for shipping inference systems that rival the best open-source and commercial offerings. Whether you are a systems programmer interested in AI infrastructure or an ML engineer curious about the Rust ecosystem, this book gives you the depth to build, optimize, and understand.

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

This book teaches you how to write production-grade systems software in Rust. You will learn not only the syntax and idioms of the language, but also how Rust works internally: its ownership model, memory layout, compilation pipeline, concurrency guarantees and performance characteristics. Through complete, self-contained projects, you will build a robust command-line tool, a binary file parser, a concurrent worker pool, a TCP server, an asynchronous networking service and a C interoperability library. Each concept is grounded in verified sources from the Rust documentation, The Rustonomicon, compiler internals and authoritative systems programming references. The book assumes you already know how to program in a systems language and takes you to the level where you can design, implement, debug, optimize and deploy Rust systems that are fast, correct and maintainable.

Rust from Sockets to Servers

Rust from Sockets to Servers

Building a High-Performance Web Server in Rust from First Principles

You have used web frameworks. You know how to spin up an Axum or Actix server in minutes. But do you understand what happens when a browser sends a request and your server sends back a response? This book takes you on a hands-on journey from raw TCP sockets through the full stack of HTTP/1.1, HTTP/2, TLS, routing, middleware, templating, REST APIs, testing, benchmarking, and deployment. Every chapter adds a layer to a production-quality web server built entirely in Rust using Tokio and carefully chosen crates. By the end, you will not only have a working server but also the deep intuition that makes you a better developer no matter what tools you eventually use.

Modern Web Development with Rust and Axum

Modern Web Development with Rust and Axum

Building Production-Grade APIs and Services

This book shows you how to design, build, test, deploy and operate production-ready web applications with Rust and the Axum framework. Using a task management API called Taskflow as a running example, you’ll start with the fundamentals and gradually work your way into more advanced topics such as authentication, database integration, real-time communication, observability and containerized deployment. The examples are explained in context so you can follow along and understand how each part fits into the application. The book assumes you have some basic knowledge of Rust syntax, while introducing the web development and async concepts you need along the way. It targets Axum 0.8.x, Tokio 1.x and Rust edition 2021.

Inside the Debugger: Building a Source-Level Debugger in Rust

Inside the Debugger: Building a Source-Level Debugger in Rust

A Deep Dive into Processes, Memory, Breakpoints, and DWARF Debug Information

A debugger is not magic. It is a careful orchestration of operating system primitives, CPU features, and compiler-generated metadata that together let you pause a running program, inspect its state, and control its execution one instruction at a time. This book teaches you how to build a fully functional source-level debugger from scratch in Rust. Starting from the fundamentals of processes, virtual memory, and executable formats, we progressively implement every feature a real debugger needs: process attachment, software and hardware breakpoints, single stepping, register inspection, memory read and write, symbol resolution, stack unwinding, call frame inspection, DWARF debug information parsing, source-level debugging, expression evaluation, watchpoints, multithreaded debugging, shared library support, signal handling, and remote debugging concepts. Every concept is accompanied by complete, production-quality Rust code that builds upon previous chapters into a cohesive debugger. By the end of this book, you will have built a capable debugger entirely in Rust and gained deep insight into how programs execute, how operating systems manage processes, and how compilers encode the information needed to map machine code back to source code.

Building a Hypervisor in Rust

Building a Hypervisor in Rust

From First Principles to a Full Virtualization Platform

This book teaches you how to implement a complete x86_64 hardware-assisted hypervisor entirely in Rust. Starting from an empty project, you will build every component: CPU virtualization using Intel VT-x (with AMD-V parallels), extended page tables for memory isolation, VM exit handling, interrupt and APIC virtualization, device emulation, VirtIO paravirtualized devices for storage and networking, ACPI table generation, guest firmware loading, and multi-vCPU scheduling. Every concept is grounded in working, compilable Rust code with line-by-line explanations. No placeholders, no pseudocode, no hand-waving. If you have systems programming experience and want to understand how virtualization really works at the hardware level, this book will take you there.

Building Programming Languages with Rust

Building Programming Languages with Rust

From Lexers to LLVM: A Complete Guide to Language Implementation

This book teaches you how to build a complete, production-quality programming language from scratch using Rust. Over twenty chapters, you will design and implement every component of a real language called Rune: the lexer, parser, type system, interpreter, bytecode virtual machine, native code generator, standard library, and full developer tooling chain including a REPL, formatter, linter, and language server. Every chapter includes complete, compilable Rust code with detailed explanations of design trade-offs, performance considerations, and common pitfalls. By the end, you will have built a feature-complete language and deep understanding of how programming languages work internally.

Writing GPU Kernels with CUDA Rust

Writing GPU Kernels with CUDA Rust

A Practical Guide to High-Performance GPU Computing from Rust

GPU parallel computing has fundamentally changed how software achieves performance, but writing kernels has historically demanded deep expertise in low-level hardware details and C++ era programming patterns. This book shows Rust developers how to harness NVIDIA GPUs using CUDA Rust, the emerging ecosystem that brings memory safety, expressive type systems, and modern tooling to GPU programming.

You will learn both of NVIDIA's official CUDA Rust tracks: the SIMT-style cuda-oxide compiler backend for fine-grained thread-level control, and the tile-based cutile-rs framework for safe, high-level kernel authoring. Along the way, you will build a solid understanding of GPU architecture, memory hierarchies, synchronization, and performance optimization. Every chapter includes complete, runnable code examples and explains the why behind each concept, not just the how. This is a practical guide for Rust programmers ready to write production-quality GPU kernels without sacrificing the safety and clarity that make Rust compelling.

Building a Rust Language Server

Building a Rust Language Server

A Complete Guide to Implementing LSP in Rust

Adding features like autocomplete, go-to-definition, hover documentation, real-time diagnostics and refactoring tools to a programming language is one of the most rewarding challenges in developer tooling. The Language Server Protocol turned this into a shared infrastructure problem, letting one language-aware server power dozens of editors. This book takes you from zero to a fully functional, production-ready language server written in Rust. You will learn the protocol inside out, build parsing and analysis infrastructure, implement every major IDE feature and ship a server that integrates with Visual Studio Code, Neovim and any LSP-compatible editor. Along the way you will gain deep practical knowledge of async Rust, compiler design basics, text-processing algorithms and the architecture behind modern development environments. No prior LSP experience is required; only comfort with Rust fundamentals and a willingness to build something real.

From C to Rust

From C to Rust

Modernizing Production Systems Without Starting Over

This book is a practical, production-focused guide for engineers and organizations incrementally introducing Rust into mature C codebases. It shows how to evaluate existing systems, design safe interoperability boundaries, migrate components without destabilizing production behavior, and maintain working software throughout the transition. The emphasis is on engineering realism over hype: when Rust delivers real value, when it does not, what costs are involved, and exactly how to proceed step by step with complete, runnable examples at every stage.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub