3 ms·
WSL is full of compatibility problems with lots of stuff, it cannot be compared to the underlying OSX system for ease of use.
by hellofunk 10y ago
WSL is full of compatibility problems with lots of stuff, it cannot be compared to the underlying OSX system for ease of use.
- pcwalton 10y agoI disagree. I listed several issues with XNU's implementation of POSIX above. 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.
- hellofunk 10y agoWell, I don't use Windows any more so I cannot speak from personal experience on the matter. But in my free time I experiment heavily with new platforms and languages, and as I'm working through support forums, freenode, blogs, there is a tremendous amount of noise from fellow experimenters trying to get something going on Windows [0]. Perhaps the really smart folks out there don't have this problem, but for the average joe blow developer who just wants to have some fun exploring technology, it is very obvious that things just go a lot more smoothly when installing and compiling and running various platforms on OSX compared to Windows. There is rarely any difference between the OSX and Linux steps to get all setup, while the Windows steps are often a non-trivial obstacle for the average developer. And many environments carry disclaimers about known issues on Windows that can affect operation. Even WSL often needs to be patched just to support a platform that works fine on OSX. Or we hear, "you can do this better in the next version of WSL..." sigh, that's not what most people want to deal with. 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.