WSL's kinda the mirror-universe Wine, but not quite - AIUI, it doesn't translate Linux syscalls into Windows ones, it's an alternative Windows kernel ABI that bypasses the normal one entirely.
That makes a big difference when it comes to the implementation of syscalls that have no remotely close analogue in regular Windows. fork() and exec() spring to mind - the hoops Cygwin had to jump through to fake those[0] are pretty eye-watering, but for WSL Microsoft added new kernel functionality to support them directly.
That makes a big difference when it comes to the implementation of syscalls that have no remotely close analogue in regular Windows. fork() and exec() spring to mind - the hoops Cygwin had to jump through to fake those[0] are pretty eye-watering, but for WSL Microsoft added new kernel functionality to support them directly.
[0] https://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-proce...