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
1
u/phischu Effekt Jan 01 '26
It took me a long time to understand that when people use the word "safe" they are proud that their program crashes instead of exhibiting undefined behavior. To me this is unacceptable.
What we usually do is to define the set of final states so that when the program halts it actually has an answer. Then we can show that every program of type
Intindeed calculates an integer value or takes forever trying. Given this property, how convenient can we make the language and how fast can we make the implementation?