3 ms·
Ask HN: Why is everything a file in Unix
Couldn't they make everything an object
- Iwan-Zotow 8y agoIt is even more so in Plan9. It simplifies interface(s) a lot!
- anonlastname 8y agoThe idea is that it maximizes simplicity.
- simonblack 8y agoUnix predates 'objects' by about 20 years. But hey, we don't have to restrict ourselves to a 1970s operating system forever. Producing one where everything is an object is your own personal chance for fame.
- lopespm 8y agoSome good in depth explanations: - https://unix.stackexchange.com/questions/141016/a-laymans-explanation-for-everything-is-a-file-what-differs-from-windows https://unix.stackexchange.com/questions/141016/a-laymans-ex... - https://en.wikipedia.org/wiki/Everything_is_a_file https://en.wikipedia.org/wiki/Everything_is_a_file
- lincpa 8y ago[everything is pipeline](https://github.com/linpengcheng/PurefunctionPipelineDataflow https://github.com/linpengcheng/PurefunctionPipelineDataflow) [everything is RMDB](https://github.com/linpengcheng/PurefunctionPipelineDataflow/blob/master/doc/Everything_is_RMDB.md https://github.com/linpengcheng/PurefunctionPipelineDataflow...)