High-Performance C++26 Engineering: Concurrency, Performance, and the Modern Execution Model (C++26 Mastery Series, Band 2) - Softcover

Buch 2 von 2: C++26 Mastery Series

Lim, Jordan R.

 
9798184413020: High-Performance C++26 Engineering: Concurrency, Performance, and the Modern Execution Model (C++26 Mastery Series, Band 2)

Inhaltsangabe

Your code compiles. Your tests pass. But on production hardware it runs a fraction as fast as it should. The gap between a C++ program that works and one that genuinely performs is the C++26 concurrency model, the memory hierarchy, atomic memory ordering, and SIMD data parallelism — the topics most books skip or skim.

High-Performance C++26 Engineering closes that gap, chapter by chapter, with working code, real measurements, and a discipline that starts with profiling and ends with provably correct concurrent design.

Inside this book you will:

  • Build an accurate mental model of CPU pipelines, cache hierarchies, and the memory wall — and learn to measure what actually costs time with Google Benchmark and perf flame graphs
  • Apply data-oriented design, SoA layout, arena allocators, and std::pmr to eliminate allocation churn and cache misses
  • Master the C++ memory model: happens-before, acquire/release semantics, and CAS-based lock-free programming — explained without hand-waving
  • Use std::jthread, mutexes, semaphores, latches, and barriers to build correct, scalable multithreaded systems
  • Compose asynchronous pipelines with std::execution — C++26's standardized sender/receiver framework — for structured, cancellable, testable async code
  • Exploit data parallelism with parallel STL algorithms and std::simd, the portable C++26 SIMD abstraction
  • Walk through a complete capstone application that reaches 11× its baseline throughput through a measured sequence of targeted optimizations

Written for professional C++ engineers and systems programmers who already know the language and are ready to master the machine beneath it.

Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.