Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

WSL seriously changed the amount of work I can do from my gaming PC, but I’m not sure if that’s actually a good thing based on my productivity over the past few months.

That aside it’s terrific to see MS putting something good into Windows rather than just removing things and taking choice away from the end user.



> That aside it’s terrific to see MS putting something good into Windows rather than just removing things and taking choice away from the end user.

That's the tip of the iceberg MS want everyone to see, and point the finger at.

MS want people to stop using Linux as an alternative since they lost the battle when they attempted to kill it during the Ballmer era. The plan now is more subtle: making sure everyone using Linux will want to do that from a Windows machine, with all the implications about security and privacy, which would be non existent since any malware (or Windows itself) that for example used Windows keyboard drivers to sniff passwords while one connects say to the bank under WSL "because it's more secure" would be 100% undetectable from that Linux.

The next step will be libraries to access Windows internals and GUI from WSL, so that one can build hybrids that run only on Windows+WSL; very convenient, but unfortunately now Linux is displaced and the only way to benefit from all that software will be to run it under Windows. In the end, MS will create their own Linux distro which runs on top of Windows and will essentially kill all other non-server oriented Linux distros.

Most see WSL as a good thing; I see an elaborate, and have to admit, very clever, way to take complete control of Linux in the next years.


So the Windows Subsystem for Linux GUI (WSLg) business plan looks like this, I assume:

Step 1: get lots of devs using WSL / WSL GUI.

Step 2: Get them comfortable with flexibly using WSL GUI on Linux and Windows interchangeably

Step 3: roll out your poison pill: new Version X, offering great compatibility on Windows but bad integration with Linux; maybe Linux support is buggy or nonexistent, maybe the API doesn't mesh with Linux systems at all, maybe it has license conflicts and Linux has to do a rewrite to be FOSS or write a hacky FOSS shim. Whatever creates the most pain for Linux / FOSS users.

Step 4: Stuck with being tied to WSLg, Developers go to the business and say "either we have to spend a lot of time fixing Linux issues or we buy Windows licenses" at which point the business happily buys Windows and Office 365 volume licenses and keeps going.

Step 5: Microsoft maintains its monopoly for another 10 years.

The "I want to stay independent" workaround is (I assume) writing API layers that can serve "thin GUI clients" on multiple platforms (I guess like Electron or a regular web application or something.)


> Whatever creates the most pain for Linux / FOSS users.

Not necessarily to this level of malice.

Many (most?) Linux users, especially new ones, use also Windows, so all it needs for MS to convince them to use only Windows+WSL and not say a dual boot machine or two machines, is something that just integrates the two systems, so that most users will feel more comfortable running everything under Windows.

The killer product in my opinion would be something that allows accessing to Windows internals and GUI from a Linux program (imagine "/usr/bin/excel", a port of Excel that works only under Windows+WSL). Those functionalities would be offered by something that "pure" Linux distributions could not offer, including WINE, since we're talking about the full OS and not an API translation layer. Once users and developers are accustomed to it (many devs already develop under WSL) we'll reach the point in which the two worlds will fork in favor of Windows: what is developed under Linux will also work under Windows+WSL but not the other way around. That would probably be the moment MS will introduce their own Linux distribution (advertised as the only one that can take full advantage of "most recent Linux developments") that under the hood could either be normal Windows+WSL, or a different one containing a "hidden" Windows blob allowing developers to run native Linux, hybrid Linux+Windows, and possibly native Windows apps, either free or a lot cheaper than Windows+WSL.

If this happens, most Linux users, especially desktop ones, would rather go back to Windows rather than for example stay with Ubuntu+WINE. Server, embedded and other smaller niches users will make an exception, but Linux is in serious risk of losing all other users.


The things that make me not like Windows are it's aggressive Windows Updates, lack of real true security, and the way windows regularly ignores settings. Steam automates configuring Wine for you and most games just work. But for work? There's no reason to use Windows anymore unless you have some proprietary software that runs only on Windows.

Btw the whole "Access Windows internals and GUI" from Linux already works. You can just run Windows commands from bash and of course make scripts using those commands so essentially all windows command prompt commands are available to you now.

But remember it's Windows. You can set all the registry settings you want but it will still sometimes ignore your settings and just do what it wants.


> MS want people to stop using Linux as an alternative

Linux desktops as they currently stand aren't even close to a threat to Windows, this is Microsoft using the Linux userspace to get developer mindshare back from OSX.


Windows terminal + wsl is good, but I think the native terminal in MacOS is still much better to use. In the Win 11 beta the ease of use is pretty similar, but the unix terminal is just better integrated into MacOS. Probably my favourite terminal command is `open` which on MacOS lets me open any file in the associated application. I haven't found the same for WSL yet.


`<filename>` from Windows, or `explorer.exe <filename>` from WSL. As simple as that.


Hah, I was kinda hoping someone would know a trick I just hadn't found yet! Thanks for this. I set an alias so `open='explorer.exe'` which saves me some typing and muscle memory.


If you use powershell

  ii filename


I personally think windows’ user interface is way more buggy/slow than the new gnome. The latter has a properly smooth overview window (with gestures), while windows’ flickers on a much better laptop..


That and most corporate Windows users simply can't switch to the OS of their choice due to rigid IT department rules.


I wonder how many people who rely on Linux have truly moved to WSL? I gave it a try and I find real Linux vastly superior. Hybrid Windows+WSL apps, what is the point? Developing Windows apps with .NET is very easy and pleasant.

Don't get me wrong, I agree we should be concerned about WSL. But I think it's also very possible Microsoft recognizes developers that aren't developing with MS tech (ie anything but .NET these days) pretty much never use Windows and they are trying to patch that gap.


I'd believe their target isn't users who are already using Linux, but users who will be using Linux for first time going forward. Think all the university students who made Linux the system to develop on will now make Linux on Windows as that system. Eventually, WSL will take over baremetal Linux because it was more convenient to get started, technical superiority notwithstanding.


I've been a Linux user since 1995 and run Windows + WSL2 on my desktop machines. It's not too deep and pretty similar to why so many folks were drawn to Macs; a no brains just works GUI with the ability to launch a terminal and do real work on a UNIX-like system.

I can use a single machine to do everything I need, without rebooting and without making sacrifices.

I can watch Netflix and play games, without needing to write a f'n shell script to fix the screen tearing present in the nvidia driver - or realizing a particular game has quirks or doesn't work in Proton, so I just have to throw up my arms and say "Well, I guess we just don't play that game".

I can pop open a terminal anytime and have access to a real Linux system, as opposed to the faux "uncanny valley linux" solutions like Cygwin and Git Bash that seem to work until they don't. And unlike a traditional VM there's no management involved; I open the terminal when I need it and close it when i'm done, just like a normal application.


I don't think that's it. it targets frustrated Linux devs that are tired of Gnome/KDE/X/Wayland wars, and things breaking if you don't do things just right. I spent 2 years on pure Linux and I switched back to Windows + WSL2 and I'm pretty happy. use it for work and personal use. It gives me the apps and use ability of OSX, the Linux console and none of the headache. maybe I'm just out of the honeymoon phase but I'm tired of constantly tinkering with Linux to get it to work. to install the right tool, outdated stuff in package managers, etc.


For me it's a far superior experience than the alternative which is macos. Instead of battling a close but frustratingly different OS than my server target, I get to run the exact same OS. So a bunch of pain vanishes.


That seat that Microsoft have on the Linux Foundation board of directors will come in useful for that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: