Store buffer
Small on-chip buffer inside a CPU that holds pending writes before they reach the cache, introducing memory visibility hazards in multithreaded code.
Modern CPUs don't write directly to cache or memory when you execute a store instruction. Instead they buffer the write in a small FIFO queue called the store buffer, then drain it asynchronously. This allows the CPU to keep executing ahead without stalling. But it also means thread A can continue running while its write hasn't left the buffer—thread B on the same or different core can still see the old value. Store buffers are a primary source of reordering and explain why memory barriers are essential. Size and drain rates vary by CPU: ARM and Power processors have larger store buffers than x86, making memory bugs more likely on those architectures.
Real-world effect: the same Rust or C++ code can have race conditions on ARM but pass on x86—not because of bugs, but because x86 happens to be stricter.