Leanpub Header

Skip to main content

Filters

Category: "Performance Engineering"

Performance Engineering

  1. Odin: A Practical Guide to Low-Level Programming
    Odin: A Practical Guide to Low-Level Programming
    Design, Build, and Optimize Systems Software in Odin
    Steve Publications

    Build real systems software with Odin. This practical guide takes you from the language basics to memory, concurrency, networking and performance. Learn how Odin works under the hood while building parsers, allocators, simulations and more, with complete examples and clear comparisons to C, C++, Rust and Go.

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

  3. CPU Performance Engineering
    CPU Performance Engineering
    From Architecture to Optimization - A Practical Guide to Making Software Faster
    Steve Publications

    What really makes software fast? This book takes you inside the modern CPU to show what happens to your code at the hardware level. Learn how to measure performance, find bottlenecks and turn slow code into faster code using practical techniques, real tools and real hardware.

  4. Concurrent Programming in Java
    Concurrent Programming in Java
    From Traditional Threads to Project Loom
    Florin Radu

    Master the ideas behind Java concurrency, from threads, race conditions, and synchronization to CompletableFuture, virtual threads, and structured concurrency. With practical patterns, runnable examples, and a companion GitHub repository, this book helps you move from understanding concurrency to applying it in real programs.

  5. Deterministic Pricing Engines in C++
    Deterministic Pricing Engines in C++
    Monte Carlo Simulation, Finite Difference Solvers and Real-Time Greeks for Production Trading Systems
    Weston Ashgrove

    Your Greeks change when you move from 32 cores to 64. Your prices drift after a compiler upgrade. Neither is noise. Both are bugs, and this book shows how to build C++ pricing engines that cannot have them.

  6. Database Performance Engineering

    What really happens inside a database when queries run, data is stored and performance starts to suffer? This book takes you behind the scenes of SQLite, PostgreSQL and modern storage engines, showing how they work through real code, practical examples and performance analysis. Learn to find bottlenecks, make better design decisions and build faster, more reliable applications.

  7. The Performance Engineer's Guide to Modern Computer Architecture
    The Performance Engineer's Guide to Modern Computer Architecture
    Understanding, Analyzing, Measuring and Optimizing Computing Systems
    Steve Publications

    Modern computer systems are complex, and getting the best performance out of them takes more than writing efficient code. This book takes you inside the hardware, from processor pipelines and cache hierarchies to parallel computing and acceleration. Learn how to measure, understand and eliminate performance bottlenecks with practical techniques grounded in real-world engineering.

  8. A Practical Guide to Pruning Experts in Mixture-of-Experts (MoE) Models
    A Practical Guide to Pruning Experts in Mixture-of-Experts (MoE) Models
    From First Principles to Production Deployment
    Steve Publications

    What if you could make massive Mixture-of-Experts models smaller without retraining them from scratch? This book takes you from the fundamentals of expert pruning to practical implementation, covering proven methods, working code and real-world deployment challenges. Learn how to identify redundant experts, preserve model performance and build pruning solutions that work in production.

  9. The JIT Paradox
    The JIT Paradox
    What Python's Performance Crusade Means for Language Design
    Steve Publications

    Python was never built to be the fastest language, but the world it now powers demands more speed than ever. As JIT compilation pushes Python into new territory, old trade-offs are coming back into focus. What does it take to make a language faster without losing what made it popular in the first place?

  10. Reverse Engineering with AI
    Reverse Engineering with AI
    Learn practically to decompile, analyze, and rebuild software using Claude, Ghidra, and Frida
    GitforGits | Asian Publishing House

    Across every chapter in this book, we'll look at real software, break it down and put it back together again so we can use it. We'll encounter a stripped binary, a scrambled algorithm, an undocumented file format, a mobile app protecting its backend, a web client, a hardened sample that fights back, and a live protocol whose secrets only exist while it's running. We're not stopping at one clever trick either. We'll get the job done to a standard that's verifiable and someone else can trust.

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

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

  13. Platform Engineering in Practice
    Platform Engineering in Practice
    Build internal Developer Platform from Empty Clusters to Self-Service Delivery, Observability, and AI-Assisted Operations
    GitforGits | Asian Publishing House

    We will define the developer contract first, and we will then build the platform underneath it together, step by step, using decisions that hold up in regulated environments and in small startups alike. Along the way, we will provision clusters, wire delivery, publish a developer API, enforce policy and ship observability, and we will do all of it where you can see every command, every manifest and every failure. Nothing here stays theoretical, because platform problems only show their true shape where an abstraction meets a real cluster.

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

  15. Running LLMs on Tiny Hardware
    Running LLMs on Tiny Hardware
    A Systems Engineer's Guide to Edge Inference on Resource-Constrained Devices
    Steve Publications

    What does it take to run an LLM on hardware that barely has enough memory to breathe? This practical guide takes you from transformer math and model compression to inference runtimes, benchmarking and real-world deployment, with hands-on case studies for building fully offline LLM systems on tiny devices.