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. Rust from Sockets to Servers
    Rust from Sockets to Servers
    Building a High-Performance Web Server in Rust from First Principles
    Steve Publications

    Most developers can build a web server with a framework. Far fewer understand what happens underneath. Rust from Sockets to Servers takes you from raw TCP sockets to a production-ready web server built in Rust, giving you a deep understanding of HTTP, async programming, TLS, routing, and the foundations behind every modern web application.

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

  4. Machine Learning with Rust, Second Edition
    Machine Learning with Rust, Second Edition
    Implement data pipelines, classical models, deep learning and NLP using burn, candle, linfa and smartcore
    GitforGits | Asian Publishing House

    The latest version of Rust (1.85) has some great new features, like async closures, more stable associated function return types, and const generics that are now mature enough to underpin serious numerical libraries. The linfa and smartcore ecosystems have developed into decent classical machine learning stacks. The Burn training framework feels native to Rust, not like it's been ported from it. The Candle makes it so that loading pre-trained transformer models is more of an engineering task than a research exercise. The crates that used to need all sorts of workarounds now just work.

  5. Learn Zig over Rust and C++
    Learn Zig over Rust and C++
    Learn Modern Systems Programming with Zig for C++ and Rust Developers
    GitforGits | Asian Publishing House

    This book is basically a record of my serious learning journey with Zig. The application at its heart, Zigkit, started as a single print statement and ended as twenty-five cooperating modules handling everything from arithmetic to HTTP. It's small enough to understand completely and complete enough to demonstrate every major systems programming concern. Each section of the book adds one module, introduces one concept, and produces one working program.

  6. Rust In Practice, Third Edition
    Rust In Practice, Third Edition
    Concurrency, Memory Safety, GPU Computing, Linux Kernels, and Real-World Systems using Rust 1.85
    GitforGits | Asian Publishing House

    This third edition covers Rust 1.85 and the Rust 2024 Edition in full. The new chapters on concurrency, the 2024 edition migration, GPU computing, Go integration, and Linux kernel programming show where the Rust community has moved since the second edition, and where systems programming as a discipline is heading. You might be writing your first Rust function or your hundredth production service, but I hope this book makes the language feel less like a puzzle and more like a tool you are already familiar with. That was the only goal I had when I wrote it.

  7. From Ruby to Rust
    From Ruby to Rust
    A Ruby Programmer's Guide to Learning Rust
    Joel Bryan Juliano

    Take everything you know about Ruby — classes, modules, exceptions, enumerable methods — and translate it directly to Rust. No fluff, no abstract theory, just runnable Ruby-to-Rust comparisons with hands-on exercises.

  8. The bon Cookbook: Ergonomic Builders in Rust
    The bon Cookbook: Ergonomic Builders in Rust
    Master the bon Crate: Ergonomic, Typestate-Driven Builders for Rust Developers
    Eugenio Perrotta Neto

    Stop writing builder boilerplate by hand. The bon crate generates compile-time-checked builders in Rust with a single annotation — and this cookbook shows you exactly how to use it, recipe by recipe.

  9. Refactor Python with Rust
    Refactor Python with Rust
    From Duck Typing to Zero-Cost Abstractions
    epz

    Your Python is elegant, expressive, and — let's be honest — slow where it counts. This book teaches you to rewrite the 3% that hurts in Rust, without rewriting the 97% that doesn't, by building a real log intelligence platform from first spark to production-ready package. If you've ever stared at a profiler's output and thought there has to be a faster way — there is, and you won't even need to give up pip install.

  10. Solana Development на Rust
    Solana Development на Rust
    Ларин Семен

    # Предисловие ## Почему эта книга? В 2024 году я начал снимать видеоуроки по Rust на YouTube. За год вышло более 50 уроков — от основ до продвинутых тем: Solana, Go, LeetCode, GameFi. Но видео — это не навсегда. Они теряются в ленте рекомендаций, устаревают, их нельзя легко найти по конкретной теме. Тогда я решил: **лучший способ сохранить знания — написать книгу**. Это не учебник по блокчейну. Это не перевод документации. Это — **конспект практического опыта**. Каждая глава родилась из реальной разработки: - Я писал код для проектов на Solana - Сталкивался с ошибками и исправлял их - Объяснял материал ученикам и зрителям - Отвечал на вопросы в комментариях Результат — книга, которая проведёт тебя от "Hello, Lamports" до собственного SPL-токена. ## Для кого эта книга? **Эта книга для тебя, если:** - Ты уже знаешь Rust на базовом уровне - Хочешь войти в блокчейн-разработку - Устал от абстрактных туториалов и хочешь практики - Ищешь структурированный материал на русском языке **Эта книга НЕ для тебя, если:** - Ты ищешь академический труд по криптографии - Тебе нужна теория без практики - Ты уже опытный Solana-разработчик ## Как читать эту книгу 1. **Последовательно** — материал выстроен от простого к сложному 2. **С кодом** — каждая глава включает рабочие примеры 3. **С практикой** — в конце каждой главы есть задания Рекомендую не просто читать, а **повторять код самостоятельно**. Блокчейн-разработка — это навык, который требует практики. ## Структура книги | Блок | Главы | Что получишь | |------|-------|--------------| | Основы | 1-4 | Понимание архитектуры Solana | | Anchor | 5-7 | Умение писать программы быстро | | Продвинутое | 8-11 | PDA, CPI, сложные сценарии | | Токены | 12-13 | Создание собственных токенов | | Деплой | 14-15 | Запуск в реальной сети | ## От автора Я верю, что образование должно быть доступным. Эта книга — мой вклад в русскоязычное сообщество разработчиков. Если ты дочитал до этого места — ты уже молодец. Блокчейн сложен, но ты справишься. Удачи в изучении! — **Rust & Beyond** --- *P.S. Если возникнут вопросы — пиши в комментариях к видео на YouTube или в Telegram. Я отвечаю на все вопросы.*

  11. Rust Advanced Memory Patterns for AI
    Rust Advanced Memory Patterns for AI
    Mastering Lifetimes, Smart Pointers, and custom allocators for managing large models and datasets
    Edgar Milvus

    Tired of memory bottlenecks? It’s time to build AI with the speed and safety of Rust. Learn to bypass standard abstractions and achieve raw performance at the hardware level. Detailed architectural diagrams and expert exercises for modern high-speed AI stacks. Stop compromising on performance—start building the future of AI engineering today.

  12. Processor Architecture with Rust
    Processor Architecture with Rust
    From Silicon to Speed
    little world

     Learn the hardware rules that make Rust code fast

  13. Candle
    Candle
    Neural Networks with Rust
    little world

    Candle is a minimalist, high-performance ML framework.The explicitness of Rust without layers of abstraction obscuring what's really happening

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

  15. Fearless Rust
    Fearless Rust
    Don't Panic!
    Freek van Keulen

    Fearless Rust, Don’t Panic! is a practical, engineering-first guide to becoming productive in Rust without getting stuck in borrow-checker dead ends. You will build a solid mental model for ownership and borrowing, learn the patterns that scale to real projects, and write Rust that is both safe and maintainable. If you want Rust’s reliability and performance without weeks of frustration, this book is your shortcut.