Leanpub Header

Skip to main content

Filters

Category: "Algorithm"

Algorithm

  1. 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 blank project to a working Transformer that loads a real model and generates text. Forged one challenge at a time, with tests that prove every piece works before you move on.

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

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

  4. C++ Algorithmic Mastery: 1000 Challenges from Beginner to Legendary
    C++ Algorithmic Mastery: 1000 Challenges from Beginner to Legendary
    Solved and Tested — A Complete 8-Volume Journey from Beginner to Advanced Algorithms
    Hatem M.

    1000 carefully designed C++ problems across 8 progressive volumes — from your very first line of code to advanced algorithms. Every single solution is compiled and tested on g++, with hints, complexity analysis, and a clear explanation for each. A complete, structured path from beginner to mastery.

  5. Data Structures and Algorithms in Programming
    Data Structures and Algorithms in Programming
    A Complete Guide from Fundamentals to Advanced Techniques
    Steve Publications

    Build a strong foundation in data structures and algorithms with clear explanations and practical Python examples. From core concepts to advanced techniques, this guide helps you understand how efficient software is designed so you can write better code with confidence and solve real programming challenges.

  6. TLDR: Data Structures and Algorithms
    TLDR: Data Structures and Algorithms
    From Knowing Python to Cracking Leetcode Patterns
    John G

    A book designed to help you transition from merely knowing Python to cracking Leetcode patterns. This book explains core DSA concepts through clear, intuitive analogies and walks you through the most important Leetcode patterns. If you're aiming to ace your next coding interview, this is the book I wish I had when I started.

  7. Learn Programming with FlowRun
    Learn Programming with FlowRun
    A visual introduction into the world of programming
    Sakib Hadžiavdić

    Learn the basics of programming with runnable flowcharts!Develop a groundwork for your next programming language, be that Python, Java, C# or any other.Try interactive examples in a matter of seconds!

  8. Practical LLM Inference
    Practical LLM Inference
    Quantization, GGUF and Local Models
    Steve Publications

    Running LLMs locally is easy. Running them well is an engineering problem. Practical LLM Inference gets into the details that matter, from quantization and GGUF internals to GPU offloading, benchmarking and production deployment. Learn how to size hardware, find bottlenecks and build fast, reliable inference systems without the AI hand-waving.

  9. Vector Search from First Principles
    Vector Search from First Principles
    SIMD, Quantization, and Billion-Scale Retrieval
    Steve Publications

    Most vector search books start with the database. This one starts with the machine. Build a search engine from scratch, then push it from brute force to billion-scale retrieval with SIMD, HNSW, quantization and distributed systems. By the end, vector search won't be a black box. It'll be something you know how to build, tune and scale.

  10. Formal Verification for Working Software Engineers
    Formal Verification for Working Software Engineers
    From First Principles to Production-Grade Verified Systems
    Steve Publications

    Formal verification does not have to live in research papers. This practical guide shows working software engineers how to turn real requirements into precise, machine-checkable guarantees, find bugs before they reach production and bring formal methods into everyday development, from application code to distributed and security-critical systems.

  11. Advanced Rust Programming
    Advanced Rust Programming
    From Mastery to Expert Systems Craft
    Steve Publications

    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.

  12. Private Computing with Homomorphic Encryption
    Private Computing with Homomorphic Encryption
    From Foundations to Production for Software Engineers
    Steve Publications

    What if your software could compute on sensitive data without ever seeing it? Private Computing with Homomorphic Encryption takes you from the core ideas to working, production-minded systems. Learn the math, schemes, libraries and design patterns you need to build with HE, judge its tradeoffs and know when it is the right tool for the job.

  13. Big O
    Big O
    Learn Big O visually so that you never forget
    Ritesh Modi

    Big O is not about seconds. It is about what happens to your work when your input gets ten times bigger, and that is the question interviewers are really asking. This book builds the notation from a list of names you can watch being searched, then hands you twenty everyday jobs in ten pairs and asks you to name the shape of each one.

  14. Coffee Break AI
    Coffee Break AI
    Understand How Artificial Intelligence Really Works - One Short Chapter at a Time
    Finxter

    Every news feed is full of AI buzzwords: Transformers, tokens, embeddings, context windows, hallucinations, objective functions. Yet most explanations are either dense academic textbooks or empty marketing fluff. ☕ Coffee Break AI is your practical guide to AI. Written in plain English with warm real-world analogies. It breaks down the core mechanisms of AI into 40 bite-sized chapters.

  15. Koddan Kariyere: JavaScript & Node.js ile Sıfırdan Profesyonele
    Koddan Kariyere: JavaScript & Node.js ile Sıfırdan Profesyonele
    Modern JavaScript, Node.js, Backend Geliştirme, REST API, Nesne Yönelimli Programlama (OOP), Asenkron Programlama, Veritabanları ve Yazılım Mühendisliğini Gerçek Projelerle Öğrenin
    Mert Turedu

    JavaScript ve Node.js öğrenmek isteyenler için başlangıçtan profesyonel seviyeye uzanan kapsamlı bir rehber. 1300+ sayfalık bu eser; modern JavaScript, Node.js, REST API, OOP, asenkron programlama, veritabanları, Clean Code, SOLID prensipleri, yazılım mimarisi ve gerçek dünya projeleriyle yalnızca kod yazmayı değil, yazılım mühendisi gibi düşünmeyi öğretir.