by hellofunk · 10y ago · 0 comments
A large portion of the WSL complaints are around the lack of inotify. You know what other system doesn't have inotify either?
Another example is ptrace(): on XNU, it doesn't work; you have to use Mach instead. On the other hand, Microsoft went to the effort of actually making ptrace() work properly. This has actual user-visible ramifications: gdb works great in WSL, while it works not-so-great in current versions of macOS. strace works fine in WSL, while on Darwin you have to use the heavily underdocumented dtruss.
Syscalls are underdocumented in macOS, so Valgrind doesn't work well; it constantly breaks on OS updates. On the other hand, Valgrind works great on WSL as long as you compile from source. A lot of this is because Linux has a stable and documented syscall interface, unlike Darwin.
You are perhaps well above average and so these issues don't affect you. But that doesn't help everyone else who struggles in the Windows environment for things that prioritise Linux/OSX.
[0] Heck, even one of the principal Clojurescript developers doesn't even support Windows, he just asks for patches from Windows users who managed to figure out how to get something working. That is not an isolated attitude.