3 ms·
And when you need to glue lots of things together that do just a single task, you end up spending much more (development and run) time at the joints, as in, con
by ygra 13y ago
And when you need to glue lots of things together that do just a single task, you end up spending much more (development and run) time at the joints, as in, constantly converting and parsing data again.
- fsniper 13y agoUnix pipes are very effective I believe.
- blt 13y agoright, because you don't have to parse data coming over a pipe. :rolleyes:
- PeterisP 13y agoSerializing and deserializing heavily structured data in order to fit over a unix pipe takes a lot of effort - I'm often doing things where the reading and writing data takes up more code and processing time than the actual processing, which is simple once the data is in a sane data structure, not in a stream. If your data structure is "a line of text, repeated x times" or "a blob representing an image", then unix pipes are very effective. For most everything else, they're not.