Everything About ___
Live briefing

Everything about Memory safety

State of being protected from memory access bugs

Memory safety is the state of being protected from various software bugs and security vulnerabilities when dealing with memory access, such as buffer overflows and dangling pointers. For example, Java is memory-safe because its runtime error detection checks array bounds and pointer dereferences. By contrast, programming languages like C, C++, and Fortran allow arbitrary pointer arithmetic with pointers implemented as direct memory addresses with no provision for bounds checking, making them memory-unsafe. Memory-unsafe code is typically found in low level programming, with higher level programming languages generally incorporating either garbage collection or static analysis to prevent such errors. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Memory safetyA 5-minute orientation
  2. Skim a recent paper: On the importance of working memory in the driving safety field: A systematic reviewInfluential work since 2022
  3. Pick up a classic book: Federally chartered corporationThe most-reprinted book on the subject
  4. Read the landmark paper: RESEARCH NOTE, The Impact of Safety Warnings on Perception and MemoryCited 48 times
  5. Go sideways: Code sanitizerA closely related topic
  6. Go sideways: Memory corruptionA closely related topic

📖 Definitions

Noun Protection from software bugs and security vulnerabilities resulting from improper memory management, such as buffer overflows and dangling pointers.

🏆 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