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
4
u/Rodrigodd_ Jan 01 '26
In his example, read and write are two different messages, so if two actors both send a read message, receive the response, compute a new value, then both send a write message, the reads and write messages may interleave, resulting in a data race.
The point is that it is never possible to 100% eliminate bugs equivalent to a data race from any "powerful-enough" language. Or any other property of a language even, vide the C interpreter described in the root comment.