(no title)
michaf
|
5 years ago
This way you would trade in a null-byte-terminated variable length string for essentially a null-bit-terminated variable length number (plus the remaining string). I am not convinced that this actually would be much safer.
selfhoster11|5 years ago
pertymcpert|5 years ago
unknown|5 years ago
[deleted]
selfhoster11|5 years ago
ascar|5 years ago
But sure on modern 64 bit systems just using a 64 bit integer makes much more sense. On a small embedded 8 bit oder 16 bit microcontroller it might make sense.
selfhoster11|5 years ago
konjin|5 years ago
Having truly unbounded integers was rather fun. Of course performance was abysmal.