Earlier quoted context omitted.
> Right now I’m using a full VM. WSL2 is also a full VM
Is that so? Isn't it more like a bridge between Linux and Windows kernels, so that stuff is ultimately delegated to Windows?
Windows Subsystem for Linux GUI
211–220 of 473 posts
Re: Windows Subsystem for Linux GUI
#212Earlier quoted context omitted.
> Right now I’m using a full VM. WSL2 is also a full VM
Is that so? Isn't it more like a bridge between Linux and Windows kernels, so that stuff is ultimately delegated to Windows?
As opposed to WSL1 where there's a wine-esque module in the windows kernel, and there is no linux kernel at all.
Re: Windows Subsystem for Linux GUI
#213Re: Windows Subsystem for Linux GUI
#214Earlier quoted context omitted.
> Right now I’m using a full VM. WSL2 is also a full VM
Is that so? Isn't it more like a bridge between Linux and Windows kernels, so that stuff is ultimately delegated to Windows?
https://docs.microsoft.com/en-us/windows/wsl/compare-version...
Re: Windows Subsystem for Linux GUI
#215Earlier quoted context omitted.
How much of that effect do you think is due to recent Windows versions not playing nicely so you still get some hassle anyway and/or to improving options to run Windows virtually on a Linux host with close to native performance and compatibility?
What do you mean by "not playing nicely". With UEFI boot you can dual boot all day. There is no need to modify MBR. So nothing gets overwritten on updates.
The issue I had in mind was the unrestricted hardware access that Windows has if it is running natively. This is an operating system that has literally pushed updates that inadvertently deleted user data, among other severe problems, and that will deploy its updates automatically to many users. Dual booting won't ensure the integrity of your system against that kind of threat. Running Windows in a virtual environment means it can't damage the rest of your system even if it deploys a seriously broken update without warning. And that kind of virtualisation is getting more practical all the time even if for now it remains the preserve of serious Linux hackers.
Re: Windows Subsystem for Linux GUI
#216Earlier quoted context omitted.
> Right now I’m using a full VM. WSL2 is also a full VM
Is that so? Isn't it more like a bridge between Linux and Windows kernels, so that stuff is ultimately delegated to Windows?
Re: Windows Subsystem for Linux GUI
#217Re: Windows Subsystem for Linux GUI
#218Earlier quoted context omitted.
Perhaps it needn't be; I, with my negligible OS dev experience, just like microkernel architectures better. It seems more sensible to have microkernels managed by a microkernel loader. This might be an opinion I come to recant in time. The core of my position is that Microsoft needs to stop doing Microsoft things if they want to be taken seriously as a good faith actor, but I'm not holding my breath. Until they make…
Providing POSIX and Linux-specific APIs does actually place them into Linux ecosystem. Programs bult for Linux suddenly can be run for Windows users. That's a boost in adoption potential for Linux programs (large part of the ecosystem). And adoption is very impotant for further development and success of software. On the other hand, for Linux users this makes Windows more attractive - why not choose Windows for your…
I do see your point, however, and I hadn't thought it of that way; do you see anywhere the community might pick up on this for some benefit?
Re: Windows Subsystem for Linux GUI
#219Earlier quoted context omitted.
Linux and Windows use mutually exclusive permission/ACL bits, even on the same NTFS filesystem.
> even on the same NTFS filesystem can you explain a bit how this works?
https://docs.microsoft.com/en-us/windows/wsl/file-permission...
Re: Windows Subsystem for Linux GUI
#220Earlier quoted context omitted.
Are you talking about WSL1 or WSL? Wsl2 is much much faster due to having a virtualized real linux kernel running
WSL2 disk access from the Windows side is very slow. It's the reciprocal problem of WSL1. WSL2 Linux apps now get proper performance now but if your IDE is on the Windows side, access time to project files on native Linux partition is terrible.
My own case was something different: annoyingly configured automated browser tests with Cypress. Just running them inside WSL and letting that start a browser on the distro itself was the most comfortable way to debug these.