3 ms·
WSL 2 is an emulator (Hyper-V).
by lostmsu 6y ago
WSL 2 is an emulator (Hyper-V).
- 29athrowaway 6y agoIt is not an emulator. It is a compatibility layer for ELF binaries that implements Linux system calls on Windows, among other things. It uses the same approach WINE ("WINE is not an emulator") uses.
- cmeacham98 6y agoYou're thinking of WSL 1 (which behaves as you describe). WSL 2 actually uses virtualization and a linux kernel. Source: https://docs.microsoft.com/en-us/windows/wsl/compare-versions#whats-new-in-wsl-2 https://docs.microsoft.com/en-us/windows/wsl/compare-version...
- cbsks 6y agoTo be pedantic, Hyper-V is a hypervisor not an emulator.