logoalt Hacker News

saagarjhalast Thursday at 2:48 PM1 replyview on HN

But those segfaults will either be memory memory safe or your lines will contain “unsafe” or “unchecked” somewhere.


Replies

galangalalgollast Friday at 12:39 AM

You can make a fully safe segfault the same way you can in go. Swapping a base reference between two child types. The data pointer and vft pointer aren't updated atomically, so a thread safety issue becomes a memory safety one.

show 1 reply