logoalt Hacker News

torginus • today at 12:18 AM • 0 replies • view on HN

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.