logoalt Hacker News

galangalalgollast Friday at 12:39 AM1 replyview on HN

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.


Replies

saagarjhalast Friday at 12:13 PM

This is no longer allowed with strict concurrency

show 1 reply