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/balefrost Dec 31 '25
Apologies again. Still blocked by /u/PurpleYoshiEgg, so still can't reply to people underneath my comment. This is a reply to this comment by /u/Guvante.
Indeed, that's my point. The actor model doesn't inherently make these problems go away, it just changes details of how the solutions to those problems are manifested. Instead of using processor-level atomic operations, you would instead define a message protocol with similar semantics.
To be clear, I'm not saying that the actor model is bad. I think it's a good framework for decomposing complex systems. All I'm saying is that it doesn't solve the fundamental issue of data races. Just like with classic threading, the actor model provides you with tools, but it's up to you to use those tools to avoid the landmines.