4 ms·
> I'm not picking on you specifically but when people say things like "Unix gives you brain damage" this is what they mean. You understand that's still offensi
by loeg 10y ago
> I'm not picking on you specifically but when people say things like "Unix gives you brain damage" this is what they mean.
You understand that's still offensive and implies I have brain damage, right?
> every application should use a bespoke protocol to do simple things like working with a network file system.
It doesn't have to be bespoke, but I agree that the Unix VFS interface isn't appropriate for it.
What operating system are you aware of that provides a mkdir interface with timeout? Windows' CreateDirectory() does not. OS X is just BSD. We're departing the realm of mainstream systems. QNX mkdir does not appear to take a timeout. Plan9 uses create() with a DIR flag, which does not take a timeout. Help me out here?
- fiddlerwoaroof 10y agoI suspect old systems like Multics did. But, this is the sort of thing that Richard Gabriel is talking about in worse is better[1] [1]: https://www.dreamsongs.com/WorseIsBetter.html https://www.dreamsongs.com/WorseIsBetter.html
- deleted 10y ago[deleted]
- xenadu02 10y ago> You understand that's still offensive and implies I have brain damage, right? My apologize, I didn't intend that. I mean that some people are used to Unix and use their familiarity as a post-hoc rationalization for some of the poorly designed aspects of it. To be clear: my position is that several Unix APIs are bad designs. Rather than making excuses for them we should demand better cross-platform APIs. > It doesn't have to be bespoke, but I agree that the Unix VFS interface isn't appropriate for it. I don't agree. Network filesystems should be mountable and traversable just like local filesystems, but the OS and libraries should do more to be async and multi-thread aware, as should applications.
- pjmlp 10y ago> Rather than making excuses for them we should demand better cross-platform APIs. We already have them in the form of language runtimes. POSIX as cross-platform API is mostly relevant to C. Even C++ is moving beyond POSIX, by providing proper OS abstractions on the standard library.