2 ms·
Windows threw off the Posix elephant, and I spend more than half my time working around the resulting mess when working on Windows code.
by ghelmer 4y ago
Windows threw off the Posix elephant, and I spend more than half my time working around the resulting mess when working on Windows code.
- anon291 4y agoPlaying with windows now for some cross platform work. Trying to port my Unix domain socket service and client over.. What a mess. Win32 is an awful mess of an API. The named pipes are a sad shadow of domain sockets. Anonymous pipes are completely useless (can't run async), thus we have to name the copious number of pipes. What hell is this...
- kryptiskt 4y agoWindows does have AF_UNIX domain sockets these days: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ https://devblogs.microsoft.com/commandline/af_unix-comes-to-...
- anon291 4y agoWow... that's great. Unfortunately, I need to maximize compatibility here, and it looks like this is only for newer (<6 years old?) versions of Win32.