3 ms·
Agreed. The concept of WSL1 was much more interesting. Interfacing with Windows through a Linux userland. Actually do stuff on the windows system with a familia
by GekkePrutser 5y ago
Agreed. The concept of WSL1 was much more interesting. Interfacing with Windows through a Linux userland. Actually do stuff on the windows system with a familiar interface.
WSL2 is just Linux in a VM which has been around like forever.
By the way it also put my system in a boot loop (blue screen on boot). I tracked it down to a buggy Lenovo driver but when I removed that it crashed on something else and I got sick of it and gave up.
- apatheticonion 5y agoomg thank you for this. The amount of people trying to tell me WSL2 is groundbreaking - meanwhile I have been rocking Fedora in virtualbox for years. WSL1 was really interesting, but ultimately Microsoft needed a flagship product to demonstrate the capabilities of Hyper-V and WSL was the perfect project.
- derac 5y agoTo be clear, wsl 2 lets you interact with the Windows filesystem. I believe you can launch exes in wsl1, but not 2. However, I've never needed to do that. It's definitely not groundbreaking, but it is convenient. Using it with the new terminal app is nice. It will load and unload the ram for the instance immediately whenever you pop open a linux shell. IMO opening and closing virtualbox/hyper-v takes longer and is clunkier. Overall it reduces friction.
- balakk 5y agoWindows exes open fine in WSL2. You can also run linux apps from a Windows prompt - which is weird, but it works. https://docs.microsoft.com/en-us/windows/wsl/filesystems https://docs.microsoft.com/en-us/windows/wsl/filesystems
- garaetjjte 5y agoWSL2 filesystem access is just ordinary 9p mount.
- anderspitman 5y agoIt seems like 9p is the defacto standard for this. With all the network filesystems available, anyone know why that's the case? I personally don't have any experience with 9p.
- bostonsre 5y agoIt's not just running a vm on windows. The integration between the two makes it a lot more streamlined than just running something on virtual box. You can do stuff like browse the windows file system from Linux easily and vice versa. You can also run windows executables from inside Linux to do things like write stdout to your windows clipboard by piping it to powershell.