An unofficial, read-only Hacker News reader.

Lions' Commentary on Unix: Why It Was Secretly Copied for 20 Years (opens external site)

293 points by joonehur 2 days ago | fosscomics.com | 81 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. > Piping together C programs? I think this model has kinda sorta failed as well. Most people would agree shells are better implemented as a fast scripting-language, rather than a chain of C programs passing text around.

    I think you missed the point, which wasn't the C part, but the piping together part. it doesn't matter the language, the point is to be able to pipe programs at each other.

    Replies (1)
    1. I don't think so. Piping together stuff is neat, but it's not something to base an entire OS around. Also, if you were to pipe stuff together, C is one of the best languages, thanks to its lax memory model, you can memcpy stuff between stdin and stdout, and many programs like cat don't even need a heap.

      It's one of the reasons why Rust's coreutils has trouble matching the old C ones in performance.

      But as I said, piping programs together, which was sold as 'the Unix way', doesn't scale to complex apps, as not even the most hardcore FOSS people, like Stallman write code like that.

      Btw something similar exists for Windows, where it used to be that every button and textbox sent and received messages, and had OS level identity, but nowdays even MS's own toolkits dont work like that anymore.