Everything, WSL2 is a special hyperv vm. It’s a true Linux kernel with a true Linux file system. The network stack is one way integrated so you don’t have to forward any ports or configure NAT.
Broadly speaking WSL1 is linux implemented in the windows kernel, think reverse wine. WSL2 is linux running on a thin VM with several bridge layers that can access windows resources (networking, files, GPU, etc.)
Thanks for the explanation! I always knew that WSL1 was implemented on the Windows kernel and thought it was quite ambitious - props to them! I didn't know they moved to the VM model for WSL2.
What did they do differently with WSL2+?