© Hayden Barnes 2021
H. BarnesPro Windows Subsystem for Linux (WSL)https://doi.org/10.1007/978-1-4842-6873-5_1

1. WSL Architecture

Hayden Barnes1  
(1)
Columbus, GA, USA
 

To get the most out of Windows Subsystem for Linux, it is useful to understand its underlying architecture and history. If you plan to hack on WSL or just deploy it in your enterprise, it is necessary to know. This chapter will cover the architecture of WSL 1 and WSL 2, how we got here, and then dive into some of the bleeding edge features on the WSL platform.

WSL 1 vs. WSL 2

WSL 1 creates a Linux environment on Windows through the use of a Linux binary translation layer. WSL 2 does so with a lightweight virtualization platform based on Hyper-V. Both are unique and fascinating approaches ...

Get Pro Windows Subsystem for Linux (WSL): Powerful Tools and Practices for Cross-Platform Development and Collaboration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.