3 ms·
You don't need to send text (but you should by default for 99%+ cases when the performance is good enough and use the advantages of a human-readable format) Th
by d0mine 6y ago
You don't need to send text (but you should by default for 99%+ cases when the performance is good enough and use the advantages of a human-readable format)
The simplicity of a pipe is a feature.
- zozbot234 6y agoUltimately, these "text" formats are simply a matter of convention that makes some binary-formatted streams easier to document for humans' benefit. There's nothing wrong with a binary format if it's properly documented in some way, and modern serialization formats can be augmented with schemas and other features that help provide this.
- laumars 6y agoBeing able to easily read and edit them matters too (pipes are just files so one might choose that file to be a persistent file on disk). Having a none-text format would mean all your file editing tools would have to then understand this new binary format. So you’d have to rewrite every tool to manipulate that data as if it’s text. By which point you’ve effectively just reinvented ASCII.