Conversation

I disagree. We still haven't succeeded in making memory safety considered a base foundation. People are still making new languages that aren't memory safe, and they're getting popular.
Quote Tweet
memory safety is not a big deal in the same sense that not dying from the black plague is not a big deal—you're probably going to have a hard time producing great works if it's a problem left unsolved, but it's also mere foundation
Show this thread
9
146
Replying to
i can think of … Jonathan Blow's language (which doesn't seem of sufficient importance to bother remembering the name), and … Nim?
6
10
C and C++ can't be made memory safe with sanitizers. ASan only reliably detects linear overflows, not an arbitrary read/write from one object into another. A production implementation of even inter-object bounds safety for C is unavailable let alone temporal safety support.
1
3
Also, it'd only really be inter-object bounds + temporal safety. It's impractical to do it intra-object because too much is permitted especially for memcpy, etc. Also still lots of holes and it'd require fixing a lot of UB / implementation-defined assumptions, etc. to use it.
1
right, i think i accidentally inched my internal model closer to "strict C VM" (Sulong comes to mind) than to "Valgrind memcheck, but in your compiler", but that's indeed not really feasible if you're mixing with code that doesn't run under it
1
Show replies