2019-11-09

wsl - WSL1 VS. WSL2


WSL1 VS. WSL2

Linux slitaz 4.4.0-18362-Microsoft #1-Microsoft Mon Mar 18 12:02:00 PST 2019 x86_64 GNU/Linux

Linux slitaz 4.4.0-18980-Microsoft #1-Microsoft Sat Sep 07 13:01:00 PST 2019 x86_64 GNU/Linux

Linux slitaz 4.19.67-microsoft-standard #1 SMP Sun Aug 18 13:37:54 UTC 2019 x86_64 GNU/Linux

----

4. WSL1
The original WSL is now known as WSL1. WSL1 is a compatibility layer for running Linux binary executables (ELF) natively on Windows 10. No re-compilation or 'porting' of applications is required. WSL1 provides a Linux-compatible kernel interface developed by Microsoft that allows a user to choose a Linux distribution to install from the Microsoft Store. WSL1 executes unmodified Linux ELF64 binaries by operating a Linux kernel interface on top of the Windows kernel in Windows 10. The WSL1 interface translates Linux system calls from the binaries into Windows system calls and then executes them at native speed. Linux applications run within the Linux distribution which provides the application's dependencies and package management in a container-like environment. WSL provides an interface to mount drives within WSL.

5. WSL2
WSL2 was announced at Microsoft Build 2019. WSL2 features a Linux kernel running inside Windows 10 and is built on the core technology of Hyper-V to provide better Linux application support and improved file performance. Transitioning from WSL2 is seamless. WSL2 is still in active development and is only available in Insider builds. These builds are not suitable for production devices and are not recommended for a user's primary machine. Instead, users can try WSL2 using Hypver-V or on a secondary machine.

Announcing WSL2 - Microsoft blog announcing WSL2
https://devblogs.microsoft.com/commandline/announcing-wsl-2/

The new Windows subsystem for Linux architecture: a deep dive - WSL2 presentation at Microsoft Build 2019
https://www.youtube.com/watch?v=lwhMThePdIo

WSL2-Linux-Kernel - The source for the Linux kernel used in Windows Subsystem for Linux 2.
https://github.com/microsoft/WSL2-Linux-Kernel

https://github.com/sirredbeard/Awesome-WSL



The new Windows subsystem for Linux architecture: a deep dive - WSL2 presentation at Microsoft Build 2019
https://www.youtube.com/watch?v=lwhMThePdIo

What’s new with WSL - WSL2 presentation at Microsoft Build 2019
https://www.youtube.com/watch?v=9ZqeyTjX0TQ