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.
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.
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.
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.
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!
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.
Contains 1000 pages, 186 Pattern with 888 Examples
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.
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.
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.
Regex doesn't have to feel like cryptic punctuation. Mastering Regular Expressions shows you how patterns really work, how to debug them when they don't and how to use them confidently across nine programming languages. Go beyond memorizing syntax and learn to write regex that's clear, efficient and portable.
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.
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.
Discover how to make Python data processing faster, leaner and ready to scale with Polars. Starting with the basics, this practical guide takes you all the way to production-grade pipelines for massive datasets, with clear explanations of how Polars works, why it is fast and how to get the best performance from it.