Live data from Hacker News

The Windows Subsystem for Linux is now open source

blogs.windows.com

201–210 of 1001 posts

Re: The Windows Subsystem for Linux is now open source

#201
post #51

Earlier quoted context omitted.

I will also die on this hill - NixOS on WSL + Windows + komorebi[1] for tiling window management is peak productivity for me. [1]: https://github.com/LGUG2Z/komorebi

Why not a Linux distro with i3wm, instead? What could possibly hold you back from upgrading?

I've yet to find anything comparable feature-wise on Linux - and they all come with the huge downside of having to roll your own cohesive settings widget ecosystem for basic everyday things like WiFi and Bluetooth connectivity. I run Cosmic Epoch on my old Macbook which is better, but again, feature-wise, it's just not comparable for serious work.

Re: The Windows Subsystem for Linux is now open source

#202
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 don't understand. Docker/podman/distrobox/lxc all allow you to do the exact same thing without the virtual machine overhead. I think the real win of WSL is that its a best of all worlds. You get to use Windows with access to every game ever made plus all of the proprietary apps everyone needs to use, with all of the upside of having a full and complete linux command line experience.

Because it's easier to set up a local dev environment in WSL than in any of those.

Re: The Windows Subsystem for Linux is now open source

#203
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 only big gripe with WSL right now is GUI applications. wslg is not good, and the only good experience is when applications have a good remote development UX such as vscode.

Another, smaller, gripe is networking. Because of how WSL is networked, I've run into edge-case issues with connecting to networked applications running in WSL from Windows.

Re: The Windows Subsystem for Linux is now open source

#204
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 think you might want to give more context. I use linux. I don't need WSL at all. Not at work nor at home. So you praise WSL because you use Windows as your main system? Than yes its great. It definitly makes the Windows experience a lot better. OpenSSH for Windows was also a game changer. Honestly, i have no clue why Microsoft needed so long for that.

I'm a simple man, if I open the shell and `ssh foo@bar.com` doesn't work, I don't use that computer. Idk if Windows has fixed that yet or why it's so hard for them. Also couldn't even find the shell on a Chromebook.

Re: The Windows Subsystem for Linux is now open source

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

Using WSL on Win11. I would prefer Linux but I never got used to Open Office/Gimp/... and need to use PowerPoint / Affinity. But WSL mostly works, and added some tools and config to make it useful with WezTerm

https://www.amazingcto.com/upgrading-wsl-with-zsh-and-comman...

Re: The Windows Subsystem for Linux is now open source

#206
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 totally agree and will join you on the hill. I used Linux exclusively at my job for two years straight and now do the same job but from Windows 11 with WSL 2 on the same physical ThinkPad T41 laptop. Windows gets the basics right more than Linux did (sleep states, display, printing). And as the OP notes; it makes it easy to run multiple distributions and never fear that something I install or reconfigure within the WSL2 terminal will screw up my host. Having a different OS improves isolation in this regard, not at a technical level but for me making mistakes and entering commands in the wrong place, since Windows does not accept Linux commands. JetBrains and VSCode both have great support for WSL2.

Re: The Windows Subsystem for Linux is now open source

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

WSL is massively slower than Linux. Not just the 10% or so for VM, but probably 50-90% slower for disk access. It takes many times longer to start tmux. It has update bugs that crash open terminals and that's not even part of the regular windows forced-update fiasco. In short, it's garbage. It's one of the primary reasons I moved back to Linux for my daily driver.

Re: The Windows Subsystem for Linux is now open source

#208

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.

Related: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-... (edit: not https://developer.microsoft.com/en-us/windows/downloads/virt...)

> We currently package our virtual machines for four different virtualization software options: Hyper-V (Gen2), Parallels, VirtualBox, and VMware. These virtual machines contain an evaluation version of Windows that expires on the date posted. If the evaluation period expires, the desktop background will turn black, you will see a persistent desktop notification indicating that the system is not genuine, and the PC will shut down every hour.

Edit: Oops, dead link -- the dev tools evaluation VM hasn't been released for 6+ months. But they do offer Windows evaluations ISO's after registration.

Re: The Windows Subsystem for Linux is now open source

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

Running a Linux VM on Windows is nicer than just booting into Linux? That's quite a take. Windows is so user-hostile these days that I feel bad for those who have to deal with it. Calling it delightful must be symptomatic of some sort of Stockholm syndrome.

If for some reason I could never use a MacBook again, it wouldn't be easy to decide between Windows or Linux as the host OS on a laptop. Do I want something that's intentionally user-hostile or something that's unintentionally broken a lot?

I'd at least try Linux cause I abhor Microsoft, but idk if it'd work out.

Re: The Windows Subsystem for Linux is now open source

#210
post #165

Earlier quoted context omitted.

putty is longer necessary? That would be a wild upgrade in usability for the work laptop, shall go try it

openssh has been an optional windows component for... almost a decade now? including the server, so you can ssh into powershell as easily as into any unix-like. (last time I set it up there was some fiddling with file permissions required for key auth to work, but it does work.)

OpenSSH on Windows is great for the odd connection and SFTP session, but I still feel strongly that any serious usage should just stick with PuTTY and WinSCP. The GUI capabilities these provide are what Windows users are used to. The only benefit of built-in SSH is if you're working with some minimal image stuff, like Windows Server Core or Tiny11. IMHO.
Post reply on HN