We should just move away from null-terminated strings, where we can, as fast as we can.
We have. C is basically the only langage in any sort of widespread use where terminated strings are a thing.
Which of course causes issues when languages with more proper strings interact with C but there you go.
Yes
And maybe even have a (arch dependent) string buffer zone where the actual memory length is a multiple of 4 or even 8
We have. C is basically the only langage in any sort of widespread use where terminated strings are a thing.
Which of course causes issues when languages with more proper strings interact with C but there you go.