Leanpub Header

Skip to main content

Filters

Category: "Rust"

Rust

  1. Building Serverless Applications With WebAssembly & Spin

    Tired of paying the "container tax" for bursty, event-driven workloads? It's time to elevate your cloud architecture. Building Serverless Applications with WebAssembly & Spin walks you through constructing a robust, multi-component Rust app from scratch. You will master Spin, learn about the underlying Wasm Component Model, and ship your app seamlessly to both Kubernetes and edge runtimes. Ditch heavy base images, eliminate cold starts, and master the future of lightweight, secure serverless compute.

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

  3. GPU Programming using Rust and CUDA
    GPU Programming using Rust and CUDA
    Exploring Rust’s potential in GPU and parallel computing using Rust-CUDA, cuda-oxide, and RustaCUDA
    GitforGits | Asian Publishing House

    We'll be writing kernels in Rust and seeing how they match up with their C++ equivalents. If you feed a GPU properly, you'll see bandwidth quadruple from just one changed subscript. It'll get you working with thousands of threads, pricing a financial option based on an exact formula, and shipping an inference pipeline that outruns its Python equivalent for reasons you can name.

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

  5. Machine Learning with Rust
    Machine Learning with Rust
    A practical attempt to explore Rust and its libraries across popular machine learning techniques
    GitforGits | Asian Publishing House

    This book is meant to discover how the language Rust, which is known for being fast and safe, can work with the constantly changing field of machine learning, neural networks and deep learning. The datasets of COVID, CIFAR-10 and practical examples are meant to show how Rust's features can be used to solve problems that come up in machine learning.

  6. Programming Concurrency on GPUs with Rust
    Programming Concurrency on GPUs with Rust
    Examine, Run, and Measure GPU Workloads Using CUDA, Streams, and Async Pipelines
    GitforGits | Asian Publishing House

    We will work in pure Rust, with no C++ shim or Python wrapper. We will build one small program that grows to cover the whole book. It begins as a loop that any of us could have written on a bad day. After gaining a kernel, it learns to stop waiting, grows streams and pinned memory, and ends as a pipeline fed by parallel producers through bounded channels. The device is busy almost every millisecond.

  7. Rust Programming in 2026
    Rust Programming in 2026
    SouthStone Publications

    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.

  8. Mastering Regular Expressions
    Mastering Regular Expressions
    A Complete Guide for Developers Across Languages and Platforms
    Steve Publications

    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.

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

  10. Rust Concepts
    Rust Concepts
    little world

    Thinking is Rust

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

  12. 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
    Steve Publications

    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.

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

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

  15. Rust Deep Dives
    Rust Deep Dives
    how the compiler works
    little world

    What the compiler is really doing