Tags
Language
Tags
April 2025
Su Mo Tu We Th Fr Sa
30 31 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 1 2 3
Attention❗ To save your time, in order to download anything on this site, you must be registered 👉 HERE. If you do not have a registration yet, it is better to do it right away. ✌

( • )( • ) ( ͡⚆ ͜ʖ ͡⚆ ) (‿ˠ‿)
SpicyMags.xyz

C++ Low Latency: Multithreading and Hotpath Optimizations

Posted By: TiranaDok
C++ Low Latency: Multithreading and Hotpath Optimizations

C++ Low Latency: Multithreading and Hotpath Optimizations (Generative AI LLM Programming) by David Spuler
English | March 28, 2025 | ISBN: N/A | ASIN: B0F2SNYS3L | 362 pages | EPUB | 1.28 Mb

Run faster! This book is about speeding up C++ for low latency programming in multithreaded environments and sequential code in C++ backends.

Main applications:
  • AI LLM Inference Backends
  • High-Frequency Trading (HFT)
  • Game Engines
Main optimization topics:
  • C++ Multithreading optimizations
  • General C++ efficiency tweaks
Table of Contents:

Part I: Introduction to Low Latency
1. Low Latency Programming
2. Multithreading Optimizations
3. Hardware Acceleration
4. System Optimizations
Part II: Multithreading Optimizations
5. False Sharing
6. Branch Prediction
7. Lock Contention
8. Hotpath Optimizations
9. Slowpath Removal
10. Cache Warming
Part III: C++ Optimizations
11. Timing and Benchmarking
12. Bitwise Operations
13. Floating-Point Arithmetic
14. Arithmetic Optimizations
15. Compile-Time Optimizations
16. Pointer Arithmetic
17. Algorithm Speedups
18. Memory Optimizations
19. Loop Vectorization
20. AVX Intrinsics
21. Parallel Data Structures
22. Lookup Tables & Precomputation
Appendix 1: C++ Slug Catalog