Re:What Unix Cost Us [video]
by clktmr on Saturday January 18, 2020 @05:43AM
(#22083661)
"Everything is a file" is one of the most misunderstood concepts I encountered, to the point where people think that disk IO is involved. A file doesn't even need a filename (eg sockets).
The main point is to have a common interface for system resources, which happens to be the file api in Linux. Think of it as the base class of everything. There is a bunch of tools/code that operates on file descriptors, which you can reuse now.
Build better interfaces on top of that if you want to.
The main point is to have a common interface for system resources, which happens to be the file api in Linux. Think of it as the base class of everything. There is a bunch of tools/code that operates on file descriptors, which you can reuse now.
Build better interfaces on top of that if you want to.