• Home
  • About the Author
  • Search
Menu
Tag 4 Posts

C++

Page 1 of 1

Structure of Arrays (SoA) vs Array of Structures (AoS) in C++: A Deep Dive into Cache-Optimized Performance

By Lovekesh Azad in Programming on Mon 28 July 2025

Learn how the way you structure your data, as a Structure of Arrays (SoA) or Array of Structures (AoS), can significantly affect performance in C++. This deep dive explains memory layout, CPU caches, and real-world benchmarks, showing why SoA...

Why Your C++ Loop Might Not Run: Volatile & Compiler Optimizations

By Lovekesh Azad in Programming on Sun 20 July 2025

Learn how the volatile keyword and compiler optimizations affect control flow in low-latency C++ code.

Why Integer Math Is So Much Faster Than Floating-Point

By Lovekesh Azad in Programming on Fri 18 July 2025

Discover why integer operations outperform floating-point math in C++ and how it impacts performance-critical systems like HFT and low-latency computing.

From Python to Nanoseconds: C++ Build Modes Explained

By Lovekesh Azad in Misc on Thu 17 July 2025

A practical guide comparing Python and C++ timing, and how C++ build modes impact performance.

Page 1 of 1
Between the Brackets © 2025 Published with Pelican • Theme Attila • System theme