Live data from Hacker News

Windows Subsystem for Linux 2 Moving into General Availability

infoq.com

321–330 of 420 posts

Re: Windows Subsystem for Linux 2 Moving into General Availability

#321

Earlier quoted context omitted.

Well "storage is cheap" for you but why assume my money and everyone else's is cheap? I'm low on space and I need to shell out hundreds of dollars to get a larger version of what I have just to use WSL2. Or I could just keep using WSL1 and save my money, especially in this economy. Why in the world would I get a new SSD just for WSL2? This isn't about using it "in anger". I'm not pushing it to some kind of corner cas…

That has been my experience as well. WSL2 is much much faster.

Do you specifically mean \\wsl$ is much faster on WSL2?

Re: Windows Subsystem for Linux 2 Moving into General Availability

#322

> He further mentions that unzipping tarbars could see a 20 times performance increase. Boy, do I love unzipping tarbars! On a more serious note, it’s great that WSL has gotten much faster, although it’s a little disappointing that they threw out the older, more interesting architecture to get it and just used a VM.

Boring tech is good tech :)

Boring tech is good tech, choose boring tech :) https://news.ycombinator.com/item?id=20323246

Re: Windows Subsystem for Linux 2 Moving into General Availability

#323

I have a MacBook Pro that I wanted to turn into a Windows laptop. Unfortunately if you install Windows from scratch, without going through Bootcamp to install it side by side with MacOS, Hyper-V support is disabled. This means that I cannot use WSL2. Or Windows, since without a working Linux environment it's useless to me and I don't want to invest in WSL v1. Might as well go for Ubuntu 20.04.

I found a way to run Windows from scratch and have Hyper-V enabled. Just install rEFInd boot manager and use 'enable_and_lock_vmx true' in the config.

Hi, any article on the subject I could read?

This is the first time I hear of rEFInd.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#324
post #202

Earlier quoted context omitted.

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…

Most of that wiki page isn't important, Pulse largely just works these days without much or any configuration

Re: Windows Subsystem for Linux 2 Moving into General Availability

#325
post #99
post #90

Earlier quoted context omitted.

The electron hate really is getting old. vscode and some other electron apps run far faster than many comparable programs with a more traditional architecture. Yes electron could be considered inelegant, but so can a great many things in computing. If it works, we should use it.

Yep. If anything, "old-school" Visual Studio is the one that feels bloated by comparison, despite being a native app. Software quality cannot be reduced to the choice of language or framework.

It doesn't make much sense to compare VSCode and VS though.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#326
post #275
post #99

Earlier quoted context omitted.

Yep. If anything, "old-school" Visual Studio is the one that feels bloated by comparison, despite being a native app. Software quality cannot be reduced to the choice of language or framework.

It kind of is, then again VSCode doesn't do even half of VS is capable of.

The two doesn't even play in the same category:

"source code editor" vs full fledged IDE

It doesn't make much sense to compare the two in general imho.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#327

Slightly off topic but, I've been a mac user for some 6 years now and was recently forced to switch to either linux or windows for a deep learning desktop experience. I'm wondering how complete the windows experience will feel as a long-time unix user? Windows seems to have everything these days with WSL, great programming, gaming, media/rendering environments as well as super stable. What's bad?

WSL1 has some unimplemented features, but overall it's not a bad experience.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#328
post #276

Earlier quoted context omitted.

Except it isn't, that Linux kernel runs on top of a Hyper-V instance, alongside the NT kernel which is managing the whole show. More z/OS and less UNIX.

For now.

Even if Microsoft was willing to throw away what makes Windows have the desktop market that Linux will never have, and go back to its Xenix roots, Linux would probably get as much back as it has been getting from all those Android OEM contributions.

So not really a reason to cheer what would be yet another pyrrhic victory in the desktop/mobile space.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#329
post #244

Earlier quoted context omitted.

That's not my experience with VS Code on WSL 2. I have been using it for months using the remote extension, hosting my git repos in the Ubuntu subsystem, it works like a charm and feels very responsive. Maybe wait for an IDE update that handles properly WSL 2?

> using the remote extension Then there is no WSL 2 handling in your editor. VSCode remote extension works in the same way for either WSL 2, or a full-fledged Linux VM, or even a remote Linux server. As someone who run a Linux VM side by side all times, I really don't get WSL 2.

One thing that's very valuable to me in WSL (both 1 and 2) is the automagic network settings that make ports available between systems - so if I start listening on 127.0.0.1:1234 in Linux, I can connect to that on Windows and vice versa.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#330
post #250

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…

Clearly the best solution is for Microsoft to (a) write a proper ext4 driver for Windows and (b) find some way of embedding SIDs into ext4, then you could just format the drive as ext4, boot off it, and have the improved performance. (This is mostly a joke, but the performance of NTFS for certain operations has always been abysmal, and having a virus scanner injecting itself into all the operations only makes it wors…

> Clearly the best solution is for Microsoft

I wonder about the bigger part of this question.

What are the higher-ups saying?

I wonder if this is like the IBM PC, which was a GOOD THING invented by a sort of an offshoot of IBM culture. Then IBM higher-ups stepped in and tried to control the platform (PS/2, OS/2, microchannel, etc)

WSL is attracting people to windows. But the endgame isn't to lose them to linux. So they have to tie it into windows more. But if they make it too slow and bloated they might lose.

an interesting situation.

Post reply on HN