Home > Common Problem > When will wsl2 be released?

When will wsl2 be released?

(*-*)浩
Release: 2020-01-03 09:54:51
Original
4678 people have browsed it

When will wsl2 be released?

The Windows 10 build 18917 Insider version released by Microsoft, the most eye-catching one is that WSL 2 (Windows Subsystem for Linux), whose kernel is refactored using Linux, is now available.                                                                                                                                                         (Recommended learning: phpstorm)

WSL 2 was announced by Microsoft at Build 2019 on May 6. Compared with the first generation, the new WSL has re- The architecture is designed to run ELF64 Linux binaries on Windows using a real Linux kernel.

Linux binaries use system calls to perform many functions, such as accessing files, requesting memory, and creating processes.

WSL 1 created a translation layer that translated these system calls to allow them to work on the Windows NT kernel.

However, implementing all of these system calls is challenging, causing some applications to not run in WSL 1.

WSL 2 now includes its own Linux kernel with full system call compatibility, which introduces a whole new set of applications that can run in WSL, such as a Linux version of Docker.

Microsoft introduced how to use WSL 2 in a blog, which pointed out the two biggest differences between WSL 1 and 2:

Place Linux files in the Linux root In the file system

In the past three years, WSL 1 files have always been placed on the C drive. The new architecture of WSL 2 no longer has this problem. Now files frequently accessed in Linux applications can be placed in the Linux root file. system to enjoy file performance advantages, which will bring faster file system access capabilities.

At the same time, Windows applications can now directly access the Linux root file system, such as File Explorer.

You can run `explorer.exe /` in the bash shell to test the effect.

The above is the detailed content of When will wsl2 be released?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template