On 29 March 2015 at 08:14, Elazar Leibovich wrote:
> 4) I really think nowadays text is a bit obsolete. I can hardly think of a
> case where text would be more convenient than, say, json or HTML. Web
> browser is at your fingertips, and HTML table is easier to handle than
> whitespace separated o
I've been bitten by text based serialization formats:
0) You have to write a parser/printer for each new protocol.
1) Separating messages in a stream is trickier with text based formats:
int rv = read(fd, &len, sizeof(len));
assert(rv > 0);
rv = read(len, buf, sizeof(buf)));
asse