Live data from Hacker News

Windows Subsystem for Linux 2 Moving into General Availability

infoq.com

161–170 of 420 posts

Re: Windows Subsystem for Linux 2 Moving into General Availability

#161

Earlier quoted context omitted.

Windows has direct docker support and has had it for a while. Not sure how great, not into containers myself ;)

Just like on Mac OS it runs in a VM.

It can make use of Hyper-V and Windows Containers.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#162
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…

I haven't used all variants of VMs but my experience with VMs is very different from WSL2. For example: * Smooth set up. Don't have to install some large commercial 800MB MSI like VMware workstation, download some Linux image, go through partitioning of file system etc. * Well integrated. I can open up a terminal and it acts as any other window in my system (meaning I don't get the window in a window effect as you ge…

> Saying it didn't work out seems even more misguided.

That may be, but the rest of your comment seems to be unrelated to the matter at hand since you merely listed some advantages of WSL2 instead of addressing the disadvantages that are causing people trouble.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#163

Earlier quoted context omitted.

I haven't used all variants of VMs but my experience with VMs is very different from WSL2. For example: * Smooth set up. Don't have to install some large commercial 800MB MSI like VMware workstation, download some Linux image, go through partitioning of file system etc. * Well integrated. I can open up a terminal and it acts as any other window in my system (meaning I don't get the window in a window effect as you ge…

I have been using multipass very successfully the past few weeks. It's a full fat VM and has an experience very similar to that of WSL. https://multipass.run/

How's filesystem performance on a directory mounted with "multipass mount"?

Re: Windows Subsystem for Linux 2 Moving into General Availability

#164

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 believe WSL2 was designed to keep your files inside on ext4 instead of outside on NTFS.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#166
post #152

Earlier quoted context omitted.

I will the moment you give me a mac with a seven row keyboard and a trackpoint.

Since you did not specify a laptop, you can plug in any arbitrary USB HID to desktop Mac. (MacBooks too - though I'm sure this isn't what you meant.) Most people choose their laptops based on the OS, not on the pointing device.

There are about 5000 of us who did choose a laptop for its keyboard and pointer: it's the ThinkPad 25 Anniversary Edition. I have an SK-8855 already and also ordered the new TEX Shinobi so my unwavering stance on my laptop needing a proper keyboard+pointer might change but for now my choice of weapon is the TP25.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#167
post #96

Earlier quoted context omitted.

Well, if you want to use multimedia and do web development on the same machine, what are you going to do? Linux support is somewhere between nonexistent and utterly broken for the first one and the same can be said for the second on Windows. So your choices are, 1. run Linux primary, put Windows in a VM 2. run Windows primary and put Linux in a VM 3. Give up and just run a separate Linux server.

The Linux multimedia story improves significantly if you avoid Nvidia GPU hardware. My work desktop (AMD Radeon) and laptop (Intel HD Graphics) work fine, and perform as the hardware should.

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

Re: Windows Subsystem for Linux 2 Moving into General Availability

#168
post #118

Earlier quoted context omitted.

But why could not you do the same before? Even before WSL there was MSYS, which IMO is great, unless you need to compile a C program, that directly uses Linux headers.

It’s possible I could have and I just wasn’t sufficiently in the know about which tools to use. I hadn’t used MSYS. I’ve taken my current workflow so far as to even use nix as my primary package manager. Would this have been easily possible before? I ask in earnest. My setup right now is such that even mildly arcane things like that just seem to work for the most part.

Turns out "nix" is hard to search due to engines matching "*nix" to it.

Nix is probably not supported on MSYS, but YMMW. I'd love to have something like it on Windows.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#169

VMWare [0] will also support the Hypervisor Platform Api [1] allowing it to run besides WSL2 which uses Hyper-V. VirtualBox is still struggling and runs slow if at all with WSL2 and Hyper-V [2] This of course has implications on how you setup Docker on a Windows machine, each way having pros and cons. [0] https://blogs.vmware.com/workstation/2020/01/vmware-workstat... [1] https://docs.microsoft.com/en-us/virtualizati…

This is a worrisome development. We seem to be heading toward a future where hypervisor drivers can only be provided by Microsoft, and you're out of luck if they don't do the job. Hypervisors that need more capability are going to have to do some crazy stuff to stay compatible. One option is to save and restore the whole hypervisor state whenever it runs. Another option is to be some sort of boot loader, seizing the…

One day all OSes will be z/OS it seems, that alongside JIT/AOT runtimes, mainstream computing is finally catching up with 60's mainframes.

Re: Windows Subsystem for Linux 2 Moving into General Availability

#170
post #76

Out of curiosity, what do most people use this for? (I tried rewording this question a few times to not sound snarky, but failed.)

Web development primarily

Web development with node and ruby it seems.

Java and .NET Web development has been perfectly fine the last decades.

Post reply on HN