In this book, we are building a complete working server, and again we rebuild the whole thing on a different framework. It's about testing out a new approach. If the architecture is honest, the second version costs almost nothing and the business logic never moves. We ran the test, and I let you watch the result rather than describing it.
The Rust book written for Python developers. Every concept explained from your Python mental model — ownership through GC comparison, traits through protocols, concurrency through the GIL. Build a CLI tool that outperforms Python by 10-50x, then call it from Python with PyO3.
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.
Build a source-level debugger in Rust from the ground up while uncovering the operating system, CPU, and compiler mechanisms behind modern debugging. Through hands-on implementation, you'll learn how processes, memory, breakpoints, and DWARF debug information come together to make source-level debugging possible.
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.
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.
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.
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.
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.
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.
Most blockchain books teach the theory. This one walks you through building a complete Bitcoin-style blockchain in Rust, end to end — cryptography, consensus, networking, persistence, REST API, desktop wallets, and Kubernetes deployment.
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.
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.
# Предисловие ## Почему эта книга? В 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. Я отвечаю на все вопросы.*
Learn Rust the fast way, by mapping it to the JavaScript you already know. Go from ownership and traits to building a CLI, an Axum web server, a SQLx database layer, and WebAssembly modules you can call straight from JavaScript.