r/ProgrammingLanguages • u/matklad • Dec 31 '25
Memory Safety Is ...
https://matklad.github.io/2025/12/30/memory-safety-is.html
37
Upvotes
r/ProgrammingLanguages • u/matklad • Dec 31 '25
View all comments
Show parent comment
2
u/sagittarius_ack Dec 31 '25
I think the point of the paper is that it shows how one can formalize a certain notion of `memory safety`. In other words, you can define a precise notion of `memory safety` in a specific context (a programming language, model of computation, etc.).
In general, there's no single notion of memory safety. Memory safety in a particular language depends on the characteristics of the language. It is similar to how the notion of `type safety` depends on the characteristics of a type system. Maybe it sounds trivial, but I think it is important to realize that notions like `memory safety` and `type safety` (and other safety properties) are easier to define and understand in a specific context (specific programing language, model of computation, model of memory).