Live data from Hacker News

The Windows Subsystem for Linux is now open source

blogs.windows.com

41–50 of 1001 posts

Re: The Windows Subsystem for Linux is now open source

#41
post #24

Earlier quoted context omitted.

Well, WSL is Linux. It's really just a VM of it (since WSL2, WSL1 was actually running on the windows kernel which was pretty cool). The big drawback to WSL to me is the slow filesystem access because NTFS sucks. And having to deal with Windows in the first place. Ps I wouldn't worry about your karma. It's just a number :P

Slow IO is why I still use wsl1.

I liked the networking in WSL1 more too

Re: The Windows Subsystem for Linux is now open source

#42
post #7

Every time I praise WSL on hn I pay the karma tax but I will die on this hill. WSL is more powerful than Linux because of how easy it is to run multiple OS on the same computer simultaneously. It's as powerful as Linux with some janky custom local docker wrappers for device support, local storage mapping, and network mapping. Except it's not janky at all. It's an absolute delight to use, out of the box, on a desktop…

My acid test for WSL2 was to install the Linux version of Google Chrome in it, and then play Youtube videos fullscreen with that. It worked. Somehow WSL1 was the more impressive hack but how can you argue with what works? WSL2 works fine. Also 1980s style X11 widgets on the Windows desktop in their own windows? Cool.

You get much nicer window decorations if you use the wayland support instead of X11.

Re: The Windows Subsystem for Linux is now open source

#43
post #32

Note that this doesn't include lxcore.sys, the kernel side driver that powers WSL 1. (Also, I'm surprised that WSL 1 is still supported. It must be in maintenance mode though, right?)

No, both are still fully supported despite what the numbering may suggest.

Re: The Windows Subsystem for Linux is now open source

#44

Earlier quoted context omitted.

It's a... VM? Like the Linux VMs running on Linux computers in the cloud? Sorry but not sorry, it's not easier to run than on linux. It requires the Windows store to work, and to use Hyper-V (which breaks VMware workstation, among other things). It's in a better package, to be sure, but it's not "easier to run multiple OS on the same computer". It's easier to use multiple OSes (no SSH, GUI forwarding, etc), as long a…

> Want FreeBSD or Windows? Nope! Well, it is windows subsystem for Linux :) not windows subsystem for windows or FreeBSD for that matter :) Ps I wonder if you can make your own image? After all its really just Hyper-V with some config candy.

Haha yes, I was being cheeky :)

I'm pretty sure that with the opensourcing, we'll see freebsd or more exotic systems popping up quite quickly. Heck, macOS would be fun!

Re: The Windows Subsystem for Linux is now open source

#45
post #23
post #2

Given the layoffs round from last week, in a record earnings year, I wonder if this is a side effect of those layoffs.

How would a 3% layoff in a big company affect anything unless they want to specifically axe some project? It’s just lubrication for the machine. 3% is less than nothing compared to the bloat in any bigco and let me tell you Microsoft’s reputation is not the leanest of the bunch.

They're not uniform across every team and project. Certain projects can be hit very hard while others are not. Outside looking in, all we can really do is speculate.

Re: The Windows Subsystem for Linux is now open source

#46

Can I use a vanilla kernel with it yet?

Their kernel modifications and patches are public, and some of them have been upstreamed long ago. You'll need to compile your own to get the benefit, but I don't see why you wouldn't be able to use your kernel of choice.

Of course, if you want the native integration WSL offers, you'll need to upgrade the Linux driver/daemon side to support whatever kernel you prefer to run if it's not supported already. Microsoft only supports a few specific kernels, but the code is out there for the Linux side so you can port the code to any OS, really.

With some work, this could even open up possibilities like running *BSD as a WSL backend.

Re: The Windows Subsystem for Linux is now open source

#47
post #3

microsoft open sourcing a lot of things lately

Would really be curious to hear the reason why, from an internal perspective.

I've seen a number of theories online that boil down to young tech enthusiasts in the 2000's/early-2010's getting hands-on experience with open source projects and ecosystems since they're more accessible than enterprise tech that's typically gated behind paywalls, then translating into what they use when they enter the working world (where some naturally end up at M$).

This somewhat seems to track, as longtime M$ employees from the Ballmer-era still often hold stigmas against open source projects (Dave's garage, and similar), but it seems the current iteration of employees hold much more favorable views.

But who knows, perhaps it's all one long-winded goal from M$ of embracing, extending, and ultimately extinguishing.

Re: The Windows Subsystem for Linux is now open source

#48
post #7

Every time I praise WSL on hn I pay the karma tax but I will die on this hill. WSL is more powerful than Linux because of how easy it is to run multiple OS on the same computer simultaneously. It's as powerful as Linux with some janky custom local docker wrappers for device support, local storage mapping, and network mapping. Except it's not janky at all. It's an absolute delight to use, out of the box, on a desktop…

My acid test for WSL2 was to install the Linux version of Google Chrome in it, and then play Youtube videos fullscreen with that. It worked. Somehow WSL1 was the more impressive hack but how can you argue with what works? WSL2 works fine. Also 1980s style X11 widgets on the Windows desktop in their own windows? Cool.

I have to say too, though, once you get the hang of the way an EFI system boots, it's really good for dual boot. I let the Linux installer mount the undersized existing one as /boot/orig_efi and made a new, bigger EFI system partition. Not only was the UEFI on that particular laptop fine with it, scanning both EFI system partitions for bootable stuff, but also, grub2 installed in the new one automatically included the Windows boot in the old one as a boot option.

Cool because nothing about how Windows boots is intercepted; you can just nuke the new partitions (or overwrite them with a new Linux installation). I still prefer a native Linux boot with "just in case" Windows option to WSL.

Re: The Windows Subsystem for Linux is now open source

#49

Earlier quoted context omitted.

It's a... VM? Like the Linux VMs running on Linux computers in the cloud? Sorry but not sorry, it's not easier to run than on linux. It requires the Windows store to work, and to use Hyper-V (which breaks VMware workstation, among other things). It's in a better package, to be sure, but it's not "easier to run multiple OS on the same computer". It's easier to use multiple OSes (no SSH, GUI forwarding, etc), as long a…

Does it really need the store? I thought you could just go "wsl install" on the console.

You're likely right, I haven't used it in ages. Though I recall that at one point you had to get distributions from the Store, but it may have been that long ago that it was still being called "Bash for Windows".
Post reply on HN