Live data from Hacker News

The Windows Subsystem for Linux is now open source

blogs.windows.com

441–450 of 1001 posts

Re: The Windows Subsystem for Linux is now open source

#442

Earlier quoted context omitted.

> symptomatic of some sort of Stockholm syndrome I have since moved to macbooks for the hardware, but until not too long ago WSL was my linux "distro" of choice because I didn't want to spend time configuring my computer to make basic things work like suspend/wake on lid down/up, battery life, hardware acceleration for video playback on the browser, display scaling on external monitor and so on.

Who deals with this? All this is fine out of the box on a modern Linux distro.

Nothing works out of the box with Linux. They may "seem" to work out of the box but you realize how many little tweaks go into making a laptop/consumer device work fully when you work as an embedded dev. It is quite difficult to get to the same power consumption levels and same exact hardware / software driver capabilities under Linux. There are simply no APIs for many things. So the entire driver has to live in userspace using some ioctls to write random stuff to memory or it cannot exist. There are also algorithms that the hardware manufacturer wants to keep closed.

Note that NVIDIA drivers didn't get better since they are more open source now. They are not. GPUs are now entire independent computers with their own little operating system. Some significant parts of the driver now runs under that computer.

Yes the manufacturers may allocate some people to deal with it and the corrosiveness of the kernel community. But why? Intel and AMD uses that as a marketing and sales stragtegy. If the hardware manufacturer is the best one there is, where is the profit for supporting Linux? Even Thinkpads don't have 100% support of all the little sensors and PMICs.

HiDPI issue hasn't been solved yet completely. Bluetooth is still quite unreliable. MIPI support should be the best due to the number of devices, until you realize everybody did their own shitty external driver and there are no common good drivers for MIPI cameras so your webcam doesn't work. USB stack is still dodgy. Microsoft in 90s had a cart of random hardware populating the USB tree completely and they just fucked with the NT kernel plugging and unplugging until it didn't break anymore for love's sake. Who did that level of testing with Linux?

Re: The Windows Subsystem for Linux is now open source

#443
post #437

Earlier quoted context omitted.

You can’t? Just install UTM for a full VM one-click install (easier than wsl /install and two reboots) or any number of docker thingies that people build for the Mac.

Hm, never heard of that one but I'll try it.

https://mac.getutm.app/

Re: The Windows Subsystem for Linux is now open source

#444

Earlier quoted context omitted.

You get all of Windows telemetry, vulnerabilities and backdoors, the always fun game of spot the new Advertising opportunity, AI “copilot” spyware I mean feature, updates that reset your machine at will, a terrible UAC model that encourages “just click OK already!”, and dependence on a company that has gone out of their way to prove how much of an unstoppable behemoth they are; and best of all you get to pay for the…

Yes, you get Windows telemetry which enabled fixing bugs without a bug report, you get minimal ads in the start menu (if you're playing "spot the new advertising opportunity" I found it. It's in the start menu. You can stop playing now), AI "copilot" which isn't spyware just because you think it is, updates that ASK you nicely multiple times to update (I don't want to be ableist, if you suffer from a Christopher Nola…

Stockholm’s my man.

Re: The Windows Subsystem for Linux is now open source

#445

Earlier quoted context omitted.

In the same spirit if "it depends", there are other options that may work for people with different Linux/Windows balance points: * Wine is surprisingly good these days for a lot of software. If you only have an app or two that need Windows it is probably worth trying Wine to see if it meets your needs. * Similarly, if gaming is your thing Valve has made enormous strides in getting the majority of games to work flawl…

I'm struggling to find an option for running x86 Windows software on MacOS/Apple Silicon performantly. (LiDAR point cloud processing.) The possibilities seem endless and kinda confusing with Windows on ARM vs Rosetta and Wine, think there's some other options which use MacOS's included virtualization frameworks.

That’s interesting; I’d expect something techie like that to have good Linux programs.

Re: The Windows Subsystem for Linux is now open source

#446

Earlier quoted context omitted.

For the curious, the protondb front page gives a pretty good overview of the state of Linux gaming: https://www.protondb.com/ Scrolling to Medals, 50% of all 25.000+ games tracked by the site are playable, either working perfectly or mostly (Platinum or Gold ratings). Another 20% can be alright under specific circumstances, and with compromises (Silver rating).

AoE2:DE has a gold rating, but multiplayer doesn't work at all, and it's not even due to anticheat.

Yeah there's a lot of random issues with the different games. In case user experience is the main goal, I always recommend going with the main supported ways, which in this case would be Windows 11. I personally try things first on my Linux, but I always keep a backup Windows just in case.

Re: The Windows Subsystem for Linux is now open source

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

If you want to “run multiple versions of Linux at once” and don’t like plain Docker, maybe check-out Podman Desktop.

Re: The Windows Subsystem for Linux is now open source

#449

I would do it the other way round: use Windows in a virtual machine from Linux. If you are in Windows and have the urge to use Linux, do the proper switch once and for all. You will never look back. I haven't in almost 15 years. Given what Windows has become and already discussed here on HN I would even hesitate to run it in a virtual machine. Edit: more than 15 years.

> I would do it the other way round: use Windows in a virtual machine from Linux. Every Windows thread on HN is a reminder of the stark divide between people who need to use Windows for productivity apps and those who don’t. The apps I need a Windows machine for are not the kind that virtualize nicely. Anything GPU related means Windows has to become the base OS for me. If you’re running an occasional light tool you…

If you can GPU passthrough (it's quite simple to set up), this is not a large issue. You're right that Linux is sorely lacking in native creative software though!

Re: The Windows Subsystem for Linux is now open source

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

I'm old enough to remember that before docker there was chroot. It's fairly easy to put lots of different user mode portions of Linux distros into directories and chroot into them from the same kernel. It seems a bit like what you're asking for. There's also debootstrap which is useful for this technique, not sure if it also works on Ubuntu.

debootstrap absolutely works in Ubuntu
Post reply on HN