I know this would break so much ABI and other stuff, but I really wish there was a compiler flag to switch from null-terminated strings to length-prefixed strings in C.
Null-terminated strings are a mistake and we will never recover from it, it's too late.
@lethalbit The multi billion dollar single byte mistake. https://stackoverflow.com/questions/4418708/whats-the-rationale-for-null-terminated-strings
@lethalbit maybe strings should end in '$' :P
But yes, i agree…