Live data from Hacker News

Windows Subsystem for Linux 2 Moving into General Availability

infoq.com

201–210 of 420 posts

Re: Windows Subsystem for Linux 2 Moving into General Availability

#201
post #194

Earlier quoted context omitted.

Can't you just store your repositories in the ext4 partition then?

I need them available to Windows tools, like Visual Studio and Unity.

I think the popular Windows development tools will get support for remote development with WSL. JetBrains is working on it for IntelliJ and I can't imagine Visual Studio will be far behind.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#202
post #167

Earlier quoted context omitted.

Sound and bluetooth , like , works now? That wasn't my experience back then. Both of them were entire stacks of spaghetti.

This seems like comment from early 2000s. I don't remember last time I head problems with BT or sound, and I went through dozen of installations in last 3 years (for me and others). I had to give up on Nvidia drivers but Intel graphics serves me great.

Bluetooth broke on me:

https://bbs.archlinux.org/viewtopic.php?id=204875 2015 November

https://bbs.archlinux.org/viewtopic.php?id=206032 2015 December

https://bbs.archlinux.org/viewtopic.php?id=210685 2016 March.

And these were times when I needed community help, most of the time I could get it working by pairing again or some such nonsense. It never worked reliably, in general.

Note I switched to Windows as my daily driver in 2018 January.

It seems sound is still a gigantic mess of PulseAudio and ALSA https://wiki.archlinux.org/index.php/PulseAudio

Re: Windows Subsystem for Linux 2 Moving into General Availability

#203
post #27

Earlier quoted context omitted.

> Presumably, this also means you have to have Hyper-V enabled, crippling all other VM software How does hyper-V cripple other VM software? I just had to enable it to use a prebuilt VM I need, now I’m a little worried

https://docs.microsoft.com/en-us/windows/wsl/wsl2-faq https://docs.microsoft.com/en-us/windows/wsl/wsl2-ux-changes

> WSL 2 will be available on all SKUs where WSL is currently available, including Windows 10 Home. > The newest version of WSL uses Hyper-V architecture to enable its virtualization. This architecture will be available in the 'Virtual Machine Platform' optional component. This optional component will be available on all SKUs.

I don't really grok this, does this mean Hyper-V will be available on Windows 10 Home? That's the only reason I am considering buying a pro license.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#204
post #167

Earlier quoted context omitted.

Sound and bluetooth , like , works now? That wasn't my experience back then. Both of them were entire stacks of spaghetti.

This seems like comment from early 2000s. I don't remember last time I head problems with BT or sound, and I went through dozen of installations in last 3 years (for me and others). I had to give up on Nvidia drivers but Intel graphics serves me great.

Been running some flavour of Debian for > 10 years. Now on my dell XPS 13 9350. Upgraded to Debian 10, a kernel regression broke the brcfmac driver for my Broadcom wireless. Now I need to disable power saving on the WiFi card. Still, sometimes the WiFi card just dies. Sometimes reloading the kernel module works, sometimes only a hard reset will do.

Bluetooth has never worked.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#205
post #59

I am giving up. WSL1 was a great invention but Microsoft gave up on it, either because of the filesystem performance problems or because of the debuggers. https://github.com/microsoft/WSL/issues/2028 (lldb, rr, delve all affected). This looks like a dreaded case of the first 90% is easy, it's the second 90% that is hard. Imagine implementing a translator for a vast majority of Linux syscalls just to find certain flav…

With scoop.sh we don't need WSL1/2 any longer on Windows, except for when we want a real VM.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#206
post #53
post #3

Earlier quoted context omitted.

I agree wholeheartedly. I know it was probably a fool’s errand especially in a world where Docker for Windows was doing the same thing WSL2 does but worse, but WSL1’s design just satisfied me in a way that Hyper-V will not. Presumably, this also means you have to have Hyper-V enabled, crippling all other VM software. Hope the integration is impressive at least, to hopefully make up for it. I admittedly don’t run Wind…

Stop blaming Hyper-V for "crippling other VM software". You ever tried to run VBox and KVM together? It's a limitation of the processor's virtualization extension.

Yes, I have? I am... currently doing so...

Although, I don’t know if both kinds of VMs can run in parallel. I recall at least doing so with VMWare in the past.

The thing is, when enabling Hyper-V on Windows, you can’t do anything without fully rebooting. On Linux I know for a fact you do not need to reboot to switch between VMs.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#207
post #197

In genuine amazement at a lot of the comments here - why not just dual boot Linux instead of using it in a VM? Productivity on a Linux machine can be so far ahead of Windows, especially if you've got a terminal-based workflow an maybe a tiling WM

Because I don't want to have to reboot every time I want to do something else with my computer.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#208
post #197

In genuine amazement at a lot of the comments here - why not just dual boot Linux instead of using it in a VM? Productivity on a Linux machine can be so far ahead of Windows, especially if you've got a terminal-based workflow an maybe a tiling WM

I've been using WSL for the last year. No complaints at all so far. I don't want to dual boot because of the hassle of restarting my computer every time I want to do something different - like switching between a video game (say Age of Empires) and development. I don't want the hassle or overhead of dealing with a VM, allocating resources permanently to that whether it needs it or not.

This way, it feels like I'm on Linux the whole time with a Windows themed desktop, great support for games and no hardware issues. This isn't about ideological purity for me. If everything works, I'm happy.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#209
post #53

Earlier quoted context omitted.

Stop blaming Hyper-V for "crippling other VM software". You ever tried to run VBox and KVM together? It's a limitation of the processor's virtualization extension.

That's false The above commenter linked to a far more thorough explanation https://superuser.com/questions/1208850/why-cant-virtualbox-...

https://askubuntu.com/questions/413511/can-virtualbox-and-kv...

no. not together. Still a limitation of the virtualization extensions.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#210

In WSL1, running "wsl git status" on a moderately sized repo on an NTFS (Windows side) drive or SMB file share is nearly instantaneous. In WSL2, running the same command takes over 30 seconds. WSL2 is a massive hit to the seemless experience between the two operating systems with filesystem performance from Linux to Windows files orders of magnitude worse. Yes, unzipping tarballs or manipulating and stat syscalls are…

I found the filesystem performance on WSL1 abysmal, way slower than running same things in virtualbox
Post reply on HN