Some thoughts on memory safety
https://pacibsp.github.io/2024/some-thoughts-on-memory-safety.html
This post briefly describes some theoretical aspects of memory safety that feel important to me but that aren't always obvious from how I see memory safety being discussed:
1. Memory unsafety is a specific instance of a more general pattern of handle/object unsafety
2. Memory unsafety is relative to a particular layer in a stack of abstract machines
3. Memory unsafety matters because it violates local reasoning about state
4. Safe languages use invariants to provide memory safety, but these invariants do not define memory safety
Also, not sure what was up with the embed in my last post, hopefully this one works.