Tag
Charlie Marsh tweets that Andrew Kelley's talk 'A Practical Guide to Applying Data Oriented Design' had a big impact on him, especially when he started working on Ruff.
Explains how Zig's comptime and type reflection enable creating struct-of-arrays (SoA) data structures like MultiArrayList, which improve cache performance in high-performance applications.
This article explains the importance of understanding CPU cache lines and data structure layout for performance optimization in programming, using examples in Java and C. It discusses the overhead of unnecessary bytes and the trade-offs between Array of Structs and Struct of Arrays.