by binarycrusader · 10y ago · 0 comments
I'm well aware of homebrew and the like having used it myself; I still think the current situation is now better on Windows than macOS, which is bizarre.
I used to work on Windows only and had a VM, for 2 years this was my daily workflow. When I finally just switched to Mac, it was amazing how much more time I felt like I had during the day to spend on my real work, how fewer VM issues I had to deal with, and just enjoy working on the native OS.
[0] https://elixirforum.com/t/current-state-of-elixir-on-windows...
I won't claim it's fully there yet, but given how macOS is these days, it will be more stable very soon.
Ask the Go language team how they feel about all of the little breakages in various syscalls/apis that Apple introduced.
Ask graphics programmers how they feel about the lack of modern OpenGL.
Pretty soon Windows will be a far more compelling development platform than macOS (unless you have to do Apple development of course, but then there's always Visual Studio for remote development for some Mac/iOS things :-P).
Which is why we have WSL/Bash on Windows!
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.
That's coming in the next version of Bash on Windows.