News for hackers. Stuff that matters.
Re:Computers are fast by ygra on Tuesday May 13, 2014 @06:44AM (#7737440)
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.
Re:Computers are fast by fsniper on Tuesday May 13, 2014 @06:54AM (#7737470)
Unix pipes are very effective I believe.
Re:Computers are fast by PeterisP on Wednesday May 14, 2014 @09:43AM (#7743639)
Serializing 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.

Re:Computers are fast by blt on Tuesday May 13, 2014 @01:40PM (#7739493)
right, because you don't have to parse data coming over a pipe. :rolleyes: