The Journal - a proposed syslog replacement
Posted Nov 20, 2011 6:51 UTC (Sun) by skissane
In reply to: The Journal - a proposed syslog replacement
Parent article: The Journal - a proposed syslog replacement
I disagree completely. I think the UNIX emphasis on plain text, while it
had its value in its original historical context of trying to get something working quickly, it holds us back to keep it like it was some
kind of unquestionable religious dogma.
What is bad about binary formats? Nothing inherently wrong with them. Sure,
if they are poorly designed, poorly documented, lack good tools, etc., then
no doubt they can cause a lot of grief, but those are problems with poorly
designed and poorly implemented binary formats, not with binary formats per se.
What I would like to see, is a simple, flexible, self-describing, binary
format. ASN.1 or binary XML are both good places to start, although I think
both suffer from useless extra complexity. Maybe something like Google
protocol buffers would be a good choice?
If you really want text, you can easily write a tool to dump the binary out
to text. Hey, you could have a format with two official serialisations, a text-based and a binary one.
But the problem I see with most Unix-style plain text formats, is every one
is different. There is a lack of consistency/standardisation, especially
when it comes to how to escape special characters, etc.
to post comments)