Microsoft company
Using a standard kernel allows you to achieve full compatibility with Linux at the level of system calls and provide the ability to seamlessly run Docker containers on Windows, as well as implement support for file systems based on the FUSE mechanism. Compared to WSL1, WSL2 significantly improves I/O performance and file system operations. For example, when unpacking a compressed archive, WSL2 is 1 times faster than WSL20, and when performing βgit cloneβ, βnpm installβ, βapt updateβ and βapt upgradeβ operations, it is 2-5 times faster.
WSL2 offers a component based on the Linux 4.19 kernel that runs in a Windows environment using a virtual machine already in use in Azure. Updates for the Linux kernel are delivered through the Windows Update mechanism and tested on Microsoft's continuous integration infrastructure. All changes prepared for integrating the kernel with WSL are promised to be published under the free GPLv2 license. The prepared patches include optimizations to reduce kernel startup time, reduce memory consumption, and keep the minimum required set of drivers and subsystems in the kernel.
Support for the old version of WSL1 is retained and both systems can be used side by side, depending on user preference. WSL2 can act as a transparent replacement for WSL1. As in WSL1 userspace components
Environment
Source: opennet.ru