Updating object with multiple threads without synchronization java speed dating in west virginia
This dollop of memory is called a I glossed over (at least) one detail in the analogy.
Strangely enough, this is similar to how CPUs in modern computers work.
They keep showing us charts where CPU speed goes up and up every year as if Moore’s Law isn’t just a historical observation but some kind of divine right.
Without lifting a finger, we software folks watch our programs magically accelerate just by virtue of new hardware.
But as chips got faster and RAM, well, of memory right inside the chip.
The CPU can pull data from this much faster than it can from main memory.
It all boils down to something pretty simple: whenever the chip reads some memory, it gets a whole cache line.