3 ms·
I don't know if it is or isn't the plagiarism thing but GNU tools were written with a very different, way more modern style than Unix tools. Unix was pretty mu
by zorked 8y ago
I don't know if it is or isn't the plagiarism thing but GNU tools were written with a very different, way more modern style than Unix tools.
Unix was pretty much "do a quick loop using terse code" and "see what fits in this static small buffer, and if it doesn't, quietly truncate". GNU would reallocate buffers to fit, and take reasonable precautions on performing well on tiny/huge inputs.
GNU was actually considered bloated by the Unix crowd ("why so many more kilobytes of code?" ). It's an approach that scaled better for the future though.
- creatornator 8y agoSee section 2.1 of [0] and the top response to this comment [1]. You'll note in the GNU standards there, it encourages optimizing for the opposite of Unix to avoid collisions in strategy. [0] https://www.gnu.org/prep/standards/standards.html#Reading-Non_002dFree-Code https://www.gnu.org/prep/standards/standards.html#Reading-No... [1] https://news.ycombinator.com/item?id=14543536 https://news.ycombinator.com/item?id=14543536