Leanpub Header

Skip to main content

Filters

Category: "C and C++"

Books

  1. Implementing QuantLib
    Implementing QuantLib
    Luigi Ballabio

    Quantitative finance in C++: an inside look at the architecture of the QuantLib library.

  2. C++ A Visual Guide
    C++ A Visual Guide
    Essential Fundamentals for Systems Engineers
    Reiner Braun

    Learn the C++ fundamentals that connect source code, memory, ownership, build tools, and operating-system boundaries. Clear diagrams and small examples guide you toward reading, testing, and diagnosing systems-oriented programs.

  3. Bare-Metal FPGA Acceleration for C++ Trading Systems
    Bare-Metal FPGA Acceleration for C++ Trading Systems
    HDL Design, PCIe/DMA Transfer, and Clock-Domain Synchronization for Sub-Micro second Execution.
    Weston Ashgrove

    Your C++ gateway is fast. It still loses races. The cost sits below your code, in kernel network stacks, PCIe round trips, and OS scheduling jitter that no profiler shows and no rewrite removes.This book moves market data ingestion and a bounded slice of decision logic into FPGA fabric, cutting a typical 3 to 7 microsecond software path to roughly 0.7 to 1.1 microseconds, with every number measured end to end, not assumed.

  4. Build a Compiler in C++, Backwards
    Build a Compiler in C++, Backwards
    Start with twelve bytes of machine code. Finish with a compiler that draws what gcc draws.
    Hatem M.

    Build a compiler from the machine up. Start with twelve bytes of machine code you encode by hand, and finish with a compiler whose ray tracer draws exactly what gcc's build of it draws.

  5. Building High-Performance LLM Inference Engines in C
    Building High-Performance LLM Inference Engines in C
    From Transformer Fundamentals to a Complete SafeTensors Inference Runtime
    Steve Publications

    Build a real LLM inference engine from the ground up in portable C. Learn how transformers work, load SafeTensors weights, implement KV caching and optimize inference on the CPU. By the end, you will run TinyLlama locally and generate text with a complete working runtime.

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

  7. CUDA C++: High-Performance GPU Programming

    CUDA C++: High-Performance GPU Programming Master the GPU from the Streaming Multiprocessor to Production-Grade High-Performance Kernels CUDA C++: High-Performance GPU Programming is an advanced technical guide to GPU programming, CUDA execution, memory systems, kernel optimization, low-level hardware control, and high-throughput AI workloads.

  8. Building Advanced Algorithmic Crypto Trading Systems

    Building Advanced Algorithmic Crypto Trading Systems Design, engineer, and deploy institutional-grade algorithmic trading infrastructure for cryptocurrency markets, from nanosecond market data processing to live execution, quantitative modeling, and AI-driven trading strategies.

  9. Linux GPU Drivers from Scratch
    Linux GPU Drivers from Scratch
    Building Real DRM Drivers for the Modern Linux Kernel
    Steve Publications

    Go beyond writing kernel modules and learn how real Linux GPU drivers are built. Starting with GPU architecture and the graphics stack, this hands-on guide walks you through creating a complete DRM driver, from a minimal module to memory management, command submission, display support and error recovery.

  10. Deriving Algorithms
    Deriving Algorithms
    Reading, Diagnosing, Building: Twenty-Seven Worked Derivations and 285 Problems That Teach You to Find an Algorithm Instead of Recalling One
    Hatem M.

    Most algorithm books are catalogues: here is a technique, here is its proof, here are exercises. This one withholds the name of every technique until after you have built it.

  11. Advanced Aerospace Engineering: Lockheed & Partners

    Advanced Aerospace Engineering: Lockheed & Partners Advanced Aerospace Engineering: Lockheed & Partners is a comprehensive, multi‑volume technical doctrine covering the full spectrum of fifth‑ and sixth‑generation aerospace systems. Designed for engineers, researchers, and defense‑technology professionals, this work provides an end‑to‑end exploration of modern air dominance—spanning stealth physics, hypersonic propulsion, sensor fusion, digital engineering, and next‑era autonomous combat platforms.

  12. learn Nim Programming Language basic to advance
    learn Nim Programming Language basic to advance
    Mastering Nim Programming: Build High-Performance Systems, Games, and Web Apps with Python-like Syntax and C-level Speed You’ve probably noticed that most programming books are either too theoretical or filled with outdated examples. When I first started learning Nim, I faced the same frustration. That’s exactly why I wrote this book—not just to teach syntax, but to turn you into a production-ready Nim developer. This isn’t a generic tutorial. It’s a practical, 2026-updated guide that takes you step-by-step from zero to advanced systems programming. 📘 What You’ll Master Inside We always tie theory to real code. Every chapter includes: Modern Nim Core: Understand variables, types, and control flow without boring lectures. Focus directly on patterns professional Nim devs use daily. Metaprogramming Demystified: Macros and templates are Nim’s superpower, but most books overcomplicate them. We’ll make them simple enough for you to write your own DSLs. Systems & Memory Control: Safely handle GC-free modes, manual memory management, and C/C++ interop. This is the skill that lets you build high-performance tools. Real-World Projects: No more “Hello World.” Together we’ll build an async web backend (Jester/Prologue), a 2D game prototype, and a cross-platform CLI tool. Concurrency Done Right: Implement threads, channels, and async/await in practical scenarios without fear of race conditions. 🎯 Who Is This Book For? Python Devs tired of performance bottlenecks who don’t want C++ complexity. C/C++ Programmers who want modern syntax and safety without losing speed. Rust Developers exploring Nim’s gentler learning curve and faster compilation. Students & Hobbyists aiming for careers in compilers, game dev, or embedded systems. 💡 Why This Edition Is Different 90% of Nim content online is based on Nim 1.x or older. This book is built on the 2026 stable compiler, updated standard library, and modern tooling (nimble, nimlangserver). You won’t make the same mistakes I made five years ago. ✍️ Author’s Note I’ve spent years in systems programming and open-source contribution. I wrote this book because when I was learning Nim, there was no comprehensive, up-to-date resource like this. My goal is simple: flatten your learning curve so you can achieve in weeks what took me months. Get Started Now Nim isn’t just a language—it’s a different way of thinking. If you want both clean code and raw performance, this book will be the most important step in your journey. 📥 Read the free sample chapter to see if this book is right for you!
    MFoundation

    Mastering Nim Programming: Build High-Performance Systems, Games, and Web Apps with Python-like Syntax and C-level SpeedYou’ve probably noticed that most programming books are either too theoretical or filled with outdated examples. When I first started learning Nim, I faced the same frustration. That’s exactly why I wrote this book—not just to teach syntax, but to turn you into a production-ready Nim developer.

  13. Using Linux for Software Development
    Using Linux for Software Development
    A Complete Beginner-to-Advanced Guide
    Steve Publications

    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.

  14. Programmable Networks with C++
    Programmable Networks with C++
    Network Automation for SDN, Intrusion Detection, Cloud, Kubernetes and AI Infrastructure with C++23
    GitforGits | Asian Publishing House

    In this book, we plan before we act, we preview before we commit, we gate on evidence rather than on hope, and we write the recovery before we take the risk. By the time you get to the last chapter, you'll be familiar with the switches over NETCONF, server provisioning, building overlays, traffic inspection, cloud network provisioning, Kubernetes resource application, RDMA fabric validation, inference traffic routing, and reporting your findings through an interface that an assistant can query.

  15. From C to Rust
    From C to Rust
    Modernizing Production Systems Without Starting Over
    Steve Publications

    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.