For those who are unfamiliar with WSL, the subsystem allows Windows users to run native, unmodified Linux command-line tools and apps directly in Windows, just like they were jun on a Linux machine. According to Microsoft, WSL usage has grown to more than 3.5 million monthly active devices nowadays. Basically, Microsoft makes it much easier for developers to run their Linux tools without switching or booting up to Linux.

Microsoft is improving WSL 2

One year ago, Microsoft unveiled the first preview of WSL 2, which came with new capabilities in Windows’ Hypervisor Platform to run distros and tools in containers. And that was running on a Linux kernel image built by Microsoft. The virtual machine is booting from cold in less than 2s! WSL 2 delivers full system call compatibility with a real Linux kernel and is 3-6x faster compared to earlier versions of WSL. According to the Microsoft Deb Blog, if you want to set the version of any WSL distro to be using WSL 2 with the command: wsl.exe –set-version 2.

How do I install WSL with a single command?

Just open a Windows Terminal and type wsl.exe –install.

After the install, the WSL optional components will be enabled, and after a restart, your specified distro will be downloaded and installed automatically. The first releases of this feature will happen the next few months in the Windows Insiders Fast Ring.

WSL is coming with GPU Compute workflows

According to the Microsoft Developer Blog,

This is why we’re thrilled to announce that we will start previewing GPU compute support for WSL in Windows 10 Insider builds within the next few months!

SPONSORED Name * Email * Commenting as . Not you? Save information for future comments
Comment

Δ