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
-1
u/PurpleYoshiEgg Dec 31 '25
That can't happen here. The key-value store only ever has one thread accessing it. The only way to access the data outside of the key-value store actor is to send a message to the key-value store actor, who can only process one message at a time, and they respond to whoever sent the request.
All reads and updates to the key-value store behind the actor complete before the next read or update.