While thats true, its not what you think it is. WSL1 was VM in a traditional sense, it ran under windows. When you install WSL2, it basically changes your computer core OS to be a bare metal hypervisor (specialized version of Hyper V). Its the same concept as any cloud provider letting people provision VMs that run at native performance on the actual hardware. So WLS2 can talk to hardware like Graphics cards natively, and request ram on demand.
You can also install windows managers in WSL2. For example https://github.com/Lamarcke/i3-on-wsl. You can also install rainmeter on windows https://www.rainmeter.net/ if you want customizability. You can make windows look exactly like mac os with that.
WSL 1 was not a VM in a traditional sense. WSL 1 was a Windows subsystem which translated Linux syscalls into NT syscalls (e.g. file open). NT has capabilities there from its origins in the 90s supporting in theory user spaces for posix/os2/...
That's not Linux, that's a VM running Linux on Windows. Not very satisfying if you want the real thing, or want a real Linux DE.
>that's a VM running Linux on Windows
While thats true, its not what you think it is. WSL1 was VM in a traditional sense, it ran under windows. When you install WSL2, it basically changes your computer core OS to be a bare metal hypervisor (specialized version of Hyper V). Its the same concept as any cloud provider letting people provision VMs that run at native performance on the actual hardware. So WLS2 can talk to hardware like Graphics cards natively, and request ram on demand.
You can also install windows managers in WSL2. For example https://github.com/Lamarcke/i3-on-wsl. You can also install rainmeter on windows https://www.rainmeter.net/ if you want customizability. You can make windows look exactly like mac os with that.
WSL 1 was not a VM in a traditional sense. WSL 1 was a Windows subsystem which translated Linux syscalls into NT syscalls (e.g. file open). NT has capabilities there from its origins in the 90s supporting in theory user spaces for posix/os2/...