Leanpub Header

Skip to main content

Filters

Category: "C and C++"

C and C++

  1. Learn C++ Data Structures & Algorithms Visually - Volume 1
    Learn C++ Data Structures & Algorithms Visually - Volume 1
    Data Structures & Algorithms for AI-Era Interviews
    Flannan P. Brody

    Learn C++ Data Structures & Algorithms Visually - Volume 1 brings together 108 algorithms covering trees, linked lists, strings, and arrays, each part opened by short foundation sections on the core tree patterns,... Printed in full color.

  2. Arrays - Vol 3 (Intermediate → Advanced) - C++ Edition
    Arrays - Vol 3 (Intermediate → Advanced) - C++ Edition
    Data Structures & Algorithms for AI-Era Interviews
    Flannan P. Brody

    Arrays - Vol 3 (Intermediate → Advanced) - C++ Edition teaches 57 array algorithms through plain-language explanations, C++ implementations, and step-by-step visual walkthroughs, all in full color.

  3. Arrays - Vol 2 (Beginner → Intermediate) - C++ Edition
    Arrays - Vol 2 (Beginner → Intermediate) - C++ Edition
    Data Structures & Algorithms for AI-Era Interviews
    Flannan P. Brody

    Arrays - Vol 2 (Beginner → Intermediate) - C++ Edition teaches 56 array algorithms through plain-language explanations, C++ implementations, and step-by-step visual walkthroughs, all in full color.

  4. Arrays - Vol 1 (Beginner) - C++ Edition
    Arrays - Vol 1 (Beginner) - C++ Edition
    Data Structures & Algorithms for AI-Era Interviews
    Flannan P. Brody

    Arrays - Vol 1 (Beginner) - C++ Edition teaches 56 array algorithms through plain-language explanations, C++ implementations, and step-by-step visual walkthroughs, all in full color.

  5. Ultra-Low-Latency C++ Trading Systems
    Ultra-Low-Latency C++ Trading Systems
    Integrating Matching Engines, Risk Controls, and FPGA Execution into a Single Deterministic Pipeline.
    Weston Ashgrove

    Your matching engine passed every test. Your risk engine rejects every bad order. Your FPGA gateway hits its latency target on the bench.On day one, all four components ran together against live order flow, and the system breached its exposure limit by several multiples.No component was wrong. The seams between them were.This book is about those seams.

  6. Deterministic Risk Engines in C++
    Deterministic Risk Engines in C++
    Lock-Free VaR Computation, Real-Time Stress Testing, and Cache-Aligned Position Tracking for High-Frequency Trading.
    Weston Ashgrove

    A risk check that adds 50 microseconds does not add 50 microseconds. It hands your queue position to whoever skipped the check.Most risk engines pass the quiet-market demo. Then a mutex meets a fast market, a cache line is shared by two instruments, or a covariance matrix gets rebuilt on every fill, and the check that looked cheap becomes the slowest thing in the order path. The numbers stay correct. They arrive late.This book builds the engine that doesn’t do that: lock-free position tracking, a pre-trade gate with no mutex, VaR maintained at O(k) per fill instead of recomputed, and stress tests that never touch the fill path’s cache lines. Then it proves the result with replay tests, property-based invariants, and reconciliation against an independent source.Every technique is paired with the failure it prevents, and every section ends with what it changed in the latency budget.For engineers who build the thing that has to be fast and has to be right.

  7. Vectorized C++
    Vectorized C++
    SIMD Intrinsics, AVX-512, ARM NEON, and std::simd — From Data Layout and Hardware Dispatch to Production Deployment
    Weston Ashgrove

    Your CPU has been waiting.Every numeric loop you have ever shipped processed one value at a time on hardware that was built to process sixteen simultaneously. The gap between what your code does and what the silicon is capable of is not a compiler limitation or a language restriction. It is a knowledge gap, and it has a precise cost you can measure in cycles per element.This book closes it.You will learn to read hardware the way the processor reads it: in lanes, in registers, in parallel. You will understand why your data layout is the first performance decision and the last one most engineers make. You will write branchless conditional logic that executes at full vector throughput, navigate AVX-512’s predication model without triggering the frequency trap that makes wider vectors slower, and build ARM NEON kernels that exploit interleaved memory instructions x86 has no equivalent for.By the time you reach the final chapter, you will have the complete toolkit: a portable abstraction layer that compiles to native instructions with zero overhead, a compiler collaboration discipline that turns the auto-vectorizer from an unreliable guess into a predictable collaborator, a benchmarking methodology that measures real throughput instead of measuring the speed of nothing, and a fat binary deployment architecture that ships the right implementation to every machine in your fleet without a separate binary per hardware class.The hardware is fast. It has always been fast. This book teaches you to use it.

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

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

  10. Bare-Metal Market Data Engines in C++
    Bare-Metal Market Data Engines in C++
    Zero-Copy FIX/ITCH/OUCH Parsing, Sequence Gap Recovery, and Deterministic Order Book Reconstruction.
    Weston Ashgrove

    Your feed handler parsed every test message correctly. Then a real exchange dropped two packets on an ordinary Tuesday, and the book kept building, internally consistent and wrong.Nothing crashed. Nothing threw. Four minutes of bad quotes went out before anyone noticed.This book is about that gap: the distance between a parser that works and a feed handler you can trust. You will build zero-copy FIX, ITCH, and OUCH parsers with no heap allocation on the hot path, detect sequence gaps without stalling live traffic, recover from outages without corrupting book state, and prove the result with byte-identical replay.If your system has never lost a sequence number in testing, you do not have a feed handler. You have a demo.Weston Ashgrove is a trading systems architect who has built and debugged the failures in these pages.

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

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

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

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

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