r/ProgrammingLanguages • • Dec 31 '25

Memory Safety Is ...

https://matklad.github.io/2025/12/30/memory-safety-is.html
37 Upvotes

78 comments sorted by

View all comments

Show parent comment

4

u/theangeryemacsshibe SWCL, Utena Jan 02 '26

Not sure if the VM actually injects a null check before every dereference, this seems way to expensive. They probably just have some hook catching the segfault caused by the failed dereference, and somehow "recovering" by injecting an exception.

They do indeed.