Levels of Implementation Difficulty
October 29, 2026
Computer architecture lets you do many things! Caching, branch prediction, and more. Yet some are much, much more annoying (and consequently can result in longer delays) than others. A simple ranking by yours truly from best to worst:
- Doing math using registers
- Nothing but ALU number crunching :)
- Reading from memory
- Load store unit
- Writing to memory
- Cache invalidation
- Writing to shared memory
- Mutexes
- Writing to shared memory on a multiprocessor
- Cache coherence