I switched to WSL2 a month ago and it's been great. With WSL1 I'd regularly run into subtle compatibility problems but haven't seen anything like that with 2. Despite a handful of annoyances, the Win10+WSL2+Visual Studio Code Dev environment has been a lot more pleasant than OSX.
I never thought I’d say it but because of this exact setup with VS Code I’ve actually stopped using my MBP at home in favor of my desktop, which was really only built with gaming in mind. I’ve now gotten used to having all the extra computing power at hand and would struggle to go back to a laptop as my primary development machine.
Windows Subsystem for Linux 2 Moving into General Availability
411–420 of 420 posts
Re: Windows Subsystem for Linux 2 Moving into General Availability
#412Earlier quoted context omitted.
So the idea is that you put all your work in that network drive and then open it across the network from your IDEs and Explorer etc? I mean, not hating it, but that doesn't feel all too straightforward, definitely less sonthab wsl1 :/
It's not a network path, it's a pseudo-device. Windows uses the \\ UNC file paths for a lot more things under the hood than just network access. There's a bunch of rare device file paths that you'll get UNC paths for, and every folder path canonicalizes to at least one UNC path for multiple reasons. Though it is powering that pseudo-device by a 9p-based file server under the hood, it's not a network accessible path,…
It's a network path listening only on "localhost".
Re: Windows Subsystem for Linux 2 Moving into General Availability
#413So WSL2 is supported on windows 10 Home as well, which is great. Does that mean Home also gets official Hyper V support?
Re: Windows Subsystem for Linux 2 Moving into General Availability
#414Earlier quoted context omitted.
It's not a network path, it's a pseudo-device. Windows uses the \\ UNC file paths for a lot more things under the hood than just network access. There's a bunch of rare device file paths that you'll get UNC paths for, and every folder path canonicalizes to at least one UNC path for multiple reasons. Though it is powering that pseudo-device by a 9p-based file server under the hood, it's not a network accessible path,…
> It's not a network path~ It's a network path listening only on "localhost".
Also, yes the current implementation backing that namespace/path is a Plan 9-based network file server, but that's an implementation detail that could change, seems to handled under the covers of the Namespace a little more directly than usual network access (including avoiding a localhost "loopback"), and probably something subject to change as WSL's needs change.
[1] https://docs.microsoft.com/en-us/windows/win32/fileio/naming...
Re: Windows Subsystem for Linux 2 Moving into General Availability
#415Earlier quoted context omitted.
WSL2 is really not designed for using Linux tools on your NTFS-based filesystem. Store everything on the WSL filesystem, that works perfectly. If you need GUI tools try VcXsrv.
What do you propose if you want to use a windows program to edit those files? For example I use intellij on Windows but want to compile and test on the Linux machine. If it takes 30 seconds longer than wsl 1, why would I bother changing? What is the actual point of wsl if not for the cross compatible filesystems
Re: Windows Subsystem for Linux 2 Moving into General Availability
#416Earlier quoted context omitted.
Tip: you get great performance by just installing and running Linux directly.
Yeah I really don't get the desire to do unixey development on Windows. Boot up a VM and SSH into it, if you really must have Windows. It's not like you have to buy a license to use Linux. I keep struggling to understand what WSL brings to Windows. First it was a totally incomplete distro, and now it's just a fucking VM. Seems like a gimmick more than anything. Virtualbox, HyperV, etc will all allow you to access you…
Re: Windows Subsystem for Linux 2 Moving into General Availability
#417I switched to WSL2 a month ago and it's been great. With WSL1 I'd regularly run into subtle compatibility problems but haven't seen anything like that with 2. Despite a handful of annoyances, the Win10+WSL2+Visual Studio Code Dev environment has been a lot more pleasant than OSX.
Re: Windows Subsystem for Linux 2 Moving into General Availability
#418I switched to WSL2 a month ago and it's been great. With WSL1 I'd regularly run into subtle compatibility problems but haven't seen anything like that with 2. Despite a handful of annoyances, the Win10+WSL2+Visual Studio Code Dev environment has been a lot more pleasant than OSX.
Could you elaborate why it's been more pleasant than OSX, please?
I can also run Linux docker images now.
Re: Windows Subsystem for Linux 2 Moving into General Availability
#419I switched to WSL2 a month ago and it's been great. With WSL1 I'd regularly run into subtle compatibility problems but haven't seen anything like that with 2. Despite a handful of annoyances, the Win10+WSL2+Visual Studio Code Dev environment has been a lot more pleasant than OSX.
Cool thanks for the info. Can i just update from wSL1 or do i need to be careful? Bit scared that it will screw up some things :-) Thanks
I switched to windows insider to get it, but WSL2 should hit GA in the next month or two.
Re: Windows Subsystem for Linux 2 Moving into General Availability
#420I switched to WSL2 a month ago and it's been great. With WSL1 I'd regularly run into subtle compatibility problems but haven't seen anything like that with 2. Despite a handful of annoyances, the Win10+WSL2+Visual Studio Code Dev environment has been a lot more pleasant than OSX.
What are the annoyances?
Win10 is just a little less... elegant than OSX. But not in a way that really bothers me on a day to day basis.