Leanpub Header

Skip to main content

Filters

Category: "Algorithm"

Algorithm

  1. Rust for Linux Programming
    Rust for Linux Programming
    Build kernel modules, drivers, file systems, networking, and memory using Rust's ownership, traits, and RAII
    GitforGits | Asian Publishing House

    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.

  2. Super Study Guide: Algorithms & Data Structures
    Super Study Guide: Algorithms & Data Structures
    Afshine Amidi and Shervine Amidi

    A concise, illustrated guide to algorithms and data structures, perfect for coding interviews, classes, or self-study. Covers key concepts, from fundamentals to graphs, trees, sorting, and search techniques.

  3. Build an LLM Inference Engine in C++
    Build an LLM Inference Engine in C++
    A Challenge-Driven Guide to Building a CPU-First Inference Engine in C++20
    Hatem M.

    Build a complete LLM inference engine in C++ — from a blankproject to a working Transformer that loads a real model andgenerates text. Forged one challenge at a time, with teststhat prove every piece works before you move on.

  4. The Art of Concurrent Programming
    The Art of Concurrent Programming
    Locks, Atomics, Lock-Free Systems and High-Performance Concurrent Software
    Steve Publications

    Concurrency is where small mistakes become serious problems. This practical guide takes you from hardware and memory models to locks, atomics and lock-free algorithms, with a focus on building fast, reliable systems that hold up under real production workloads.

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

  6. Prolog Programming: From Fundamentals to Advanced Logic Programming
    Prolog Programming: From Fundamentals to Advanced Logic Programming
    A comprehensive guide to logic programming with SWI-Prolog
    Steve Publications

    Discover the power of thinking in logic. This hands-on guide takes you from your first Prolog query to advanced techniques in constraints, grammars, AI search, meta-programming and production development. With clear explanations and executable SWI-Prolog examples, you’ll learn not just how Prolog works, but how to use it well.

  7. Building Database Engines from Scratch
    Building Database Engines from Scratch
    A Hands-On Guide to Storage, Concurrency, Query Processing, and Reliability in Systems Programming
    Steve Publications

    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.

  8. Python Under Pressure
    Python Under Pressure
    A Complete Interview Guide — written from the interviewer's side of the table.
    Ahmed

    The Python interview guide written from the interviewer's side of the table. 35 chapters. Every benchmark measured. Every line of code verified. What senior engineers actually get asked — and what separates the ones who get the offer.

  9. The New Generation of Programming Languages
    The New Generation of Programming Languages
    Vale, Valen, Bend, Revo, and the Future of Systems Programming
    Steve Publications

    Programming languages are entering a new era. This book explores Vale, Valen, Bend and Revo, showing how they approach memory safety, concurrency, type systems and verification. With runnable examples and clear technical analysis, it offers experienced programmers a grounded look at where systems programming may be headed.

  10. Building Anti-Scraping Infrastructure for Modern Websites
    Building Anti-Scraping Infrastructure for Modern Websites
    A Complete Guide to Designing, Implementing, and Operating Bot Defense Systems at Scale
    Steve Publications

    Scraping is getting harder to control as bots become more sophisticated. This practical guide shows security engineers, SREs and platform architects how to build anti-scraping defenses that work at scale, from traffic analysis and behavioral detection to rate limiting, challenges, observability and continuous adaptation.

  11. Practical C++23 Backend Programming, Second Edition
    Practical C++23 Backend Programming, Second Edition
    Crafting Databases, APIs, and Web Servers for High-Performance Backend
    GitforGits | Asian Publishing House

    In this book, you'll see that the book is designed with one main idea. It aims to give you the skills, confidence and understanding you need to build and deliver real Backend systems. Each chapter is designed to teach you everything you need to know to get hands-on with writing, configuring, deploying and troubleshooting your own projects. Right at the start, we got stuck into designing APIs and building backend systems. We didn't just stick to the basics, though. We went beyond that pretty quickly and started using modern protocols like gRPC and the key contract-first methods that are now the norm for scalable backend systems.

  12. Modern C++23 QuickStart Pro
    Modern C++23 QuickStart Pro
    Advanced programming including variadic templates, lambdas, async IO, multithreading and thread sync
    GitforGits | Asian Publishing House

    Programming in the modern era requires power and efficiency, and C++23 signifies the beginning of that era. This book captures that demand. To take your C++ skills to the next level, This book is about creating and breaking down real-world examples. You'll discover techniques that you can immediately apply to your own work.

  13. The Local AI Stack: Building a Sovereign Machine Learning Workstation with Hyper-V, WSL2, and GPU Virtualization

    The Local AI Stack: Building a Sovereign Machine Learning Workstation with Hyper-V, WSL2, and GPU Virtualization Renting GPU time from AWS costs more than the GPU. Every prompt you send to a cloud API is a prompt someone else logs. If your ML work runs on hardware you don't own, on a network you don't control, then you don't own your ML work.

  14. Modern C++ Memory Safety
    Modern C++ Memory Safety
    Safer Systems Software Without a Full Rewrite
    Steve Publications

    Modern C++ Memory Safety shows you how to make existing C++ systems safer without starting over. Learn practical ways to find and fix memory safety issues using modern C++, compiler tools, sanitizers, static analysis and fuzzing, with techniques you can apply directly to real production code.

  15. Conflict-Free Replicated Data Types
    Conflict-Free Replicated Data Types
    A Practical Guide to Building Distributed Collaborative Systems
    Steve Publications

    Build collaborative software that keeps working when the network does not. This practical guide takes you from distributed systems fundamentals to working CRDT implementations and production-ready collaboration. Learn how CRDTs work, where they fit and how to handle scaling, security, metadata growth and failure in real systems.