Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Did Ken, Ritchie and Brian choose wrong with NUL-terminated text strings? (2011). Parent comment
Also, ETX might have been a good terminator :) I assume NUL was chosen for easier checking (if (char) ...) vs (if (char == 0x03) ...)
But my argument was against length prefixing somehow being "more fundamental" than having just a sequence of characters "raw" in memory addresses.
There are no comments on this comment yet.
Also, ETX might have been a good terminator :) I assume NUL was chosen for easier checking (if (char) ...) vs (if (char == 0x03) ...)
But my argument was against length prefixing somehow being "more fundamental" than having just a sequence of characters "raw" in memory addresses.