Hacker News new | ask | show | jobs
by ghelmer 1213 days 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.
1 comments

Playing 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...
Windows does have AF_UNIX domain sockets these days: https://devblogs.microsoft.com/commandline/af_unix-comes-to-...
Wow... 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.