Everything About ___
Live briefing

Everything about Memory ordering

Order of accesses to computer memory by a CPU

Memory ordering is the order of accesses to computer memory by a CPU. Memory ordering depends on both the order of the instructions generated by the compiler at compile time and the execution order of the CPU at runtime. However, memory order is of little concern outside of multithreading and memory-mapped I/O, because if the compiler or CPU changes the order of any operations, it must necessarily ensure that the reordering does not change the output of ordinary single-threaded code. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Memory orderingA 5-minute orientation
  2. Skim a recent paper: Topological Ordering of Memory Glass on Extended Length ScalesInfluential work since 2022
  3. Pick up a classic book: Federally chartered corporationThe most-reprinted book on the subject
  4. Read the landmark paper: The Ghosts of Industrial Ruins: Ordering and Disordering Memory in Excessive SpaceCited 317 times
  5. Go sideways: Volatile (computer programming)A closely related topic
  6. Go sideways: Memory barrierA closely related topic

📖 Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics