Readit News logoReadit News
stevehiehn · 7 years ago
Makes you wonder if the endgame is to eventually just gut windows completely and have a Microsoft GUI running on Linux.
andrewstuart · 7 years ago
You've misunderstood what this is. It is a full kernel for the Linux subsystem, which provides the ability to run Linux code in Windows. As I understand it, the existing solution maps Linux kernel calls to the Windows kernel. I can imagine it would be much easier to just provide a true Linux kernel rather than try to support a brittle mapping layer.

They are not putting in a Linux kernel for Windows. Huge difference.

stevehiehn · 7 years ago
I have a decent understanding of what this is. I don't think WSL was added because they thought it would be cool to have two OS's. The bigger picture is every day windows becomes less relevant. Microsoft is now a powerful cloud company. I'm not sure even they even care about windows clients beyond legacy contracts. I think before thier users have no choice but to leave they want to say hey look, you are already using Linux, no need to go anywhere.
squarefoot · 7 years ago
This is functionally speaking exactly what WINE has been for Linux, although WINE differs and was a lot harder to develop because for obvious reasons it cannot contain a Windows kernel. My only concern is one day people (Microsoft?) will start writing "Linux" software which would "perform better" on WSL rather than on regular Linux, then driving away part of the userbase from the real thing.
monochromatic · 7 years ago
>endgame

He’s not saying it’s happening right now.

walrus01 · 7 years ago
I don't think anyone cares anymore - microsoft's future revenue is subscription based/monthly recurring services like office365, azure VMs, etc. Whether people access those from a desktop, laptop or android, ios device running windows 10 or a linux kernel or ios kernel or macos is moot.
codedokode · 7 years ago
I think they only want to be able to run Node, Python or Docker on Windows natively so that developers don't have motivation to switch to Linux.
tracker1 · 7 years ago
Node and Python already run on windows natively... Docker for Windows is, meh, but it works. Still switching from a hackintosh at home to Linux... wish I could switch at work.
naikrovek · 7 years ago
It does not make anyone wonder that. No one who knows Windows, anyway.
mixmastamyk · 7 years ago
No one would have guessed a few years back that Apple would be running on risc chips, then Unix, then x86, then... Or Amazon becoming the leading internet infrastructure provider. Or MS dumping their browser for Chrome, or ten other very surprising things they’ve done lately.

Don’t underestimate what new leadership who have no nostalgia towards Windows, but want to save money to pay themselves bonuses might do.

ulkesh · 7 years ago
Interestingly, I have it on good authority from someone who works at MS that they are experimenting exactly with that: Windows as a desktop environment running on top of Linux.
fxfan · 7 years ago
Reminds me of the time there was a comment wondering what the OS on Microsoft watch was- someone responded with a speculation - an erlang vm with js for gui
fetbaffe · 7 years ago
Why? With the NT now you can run Windows binaries AND Linux binaries. With the Linux kernel you can only run Linux binaries (no WINE does not count). How is that an improvement?
tracker1 · 7 years ago
WINE is to Linux as WSL is to Windows... they're the same thing.

In any case, the WSL experience on windows is still pretty sub-par. Until you can at least support the functionality offered by PodMan directly, including SystemD etc, it's not there yet. Even then, it's been kind of nasty to work with in general the handful of times I've tried.

Currently using Docker for Windows, and the msys bash that comes with Git, which though annoying for some things is still better experience wise than WSL is. Next desktop (Zen 2) will be on Linux.

__HYde · 7 years ago
NT can not run Linux binaries. That is why Microsoft are now shipping a full Linux kernel for WSL 2. WSL 1 translated Linux syscalls to NT in the same way that WINE does in the reverse.
robmiller · 7 years ago
Windows Is an Emulator

...doesn't quite have the same ring.

jjdredd · 7 years ago
I mean it's all ring0
anticensor · 7 years ago
Emulator Not Inside Windows
woliveirajr · 7 years ago
Once upon a time I would run windows over a Linux served VM. It was fast, stable and happy, not having to deal with that much hardware.
mmcnl · 7 years ago
I would be very interested in a Linux distro by Microsoft. Could be very compelling.
cs702 · 7 years ago
> Microsoft’s integration of Linux in Windows 10 will interface with a userspace installed via the Windows Store...

Given Microsoft's history, I can't help but wonder if this wholehearted embrace of Linux is part of a classic Microsoft embrace-extend-extinguish strategy.[a]

Is the endgame a Windows-only userspace layered on top of the Linux kernel?

[a] https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...

lake99 · 7 years ago
They can embrace Linux, but they can't extend it in any meaningful way. By which I mean they can't ever create a Microsoft brand of packaged Linux. The Linux marketshare is already flooded with distros, and any software that earns revenue running on Linux runs on all the major distros more or less equally well. What could Microsoft create for which Microsoft Linux would be an option so compelling that companies would pay money to buy Microsoft Linux?

For example, MS could create a whole new graphical alternative to X and Wayland that works better than them both. Their challenge for capitalizing on that would be to create a software that works only somewhat well on X or Wayland, but works perfectly on MS Linux. I predict the Linux crowd will not use it. At best, they'll end up providing an alternative for the benefit of MS aficionados.

dleslie · 7 years ago
Why not? Google did it.

Android was an embracing of Linux, they extended it with Google Play Services, and now they're moving toward extinguishing it.

cwyers · 7 years ago
> What could Microsoft create for which Microsoft Linux would be an option so compelling that companies would pay money to buy Microsoft Linux?

Single-source licensing for enterprise-grade Linux and Windows, with a sweetheart deal. And they wouldn't have to do much, just take RHEL and offer certified builds and support. (Which is what Oracle does with their Unbreakable Linux.)

martamorena · 7 years ago
You know how expensive it is to write a Kernel? I wouldn't be surprised if Microsoft will ditch their own Kernel just as they ditched their own browser engine... Why waste time and money on something that other people do equally well or better for you for free? It's just business....
mimixco · 7 years ago
If it looked like Windows,shared files with Windows, and ran Windows apps (via emulation or virtualization) that would be a huge deal in keeping companies on MS platforms, even if they're Linux underneath.
userbinator · 7 years ago
I'm feeling more like they want to inject their invasive "telemetry" into Linux too, or at least "normalise the deviance". I see their whole "we're open-source now" (mainly, open-sourcing code they can't really profit from anymore) and "friendly" face as merely trying to divert attention away from their darker side.
Quiark · 7 years ago
I don't think they care about Windows that much any more. They even dissolved the team and it's now a part of Azure team / Office team.
hestefisk · 7 years ago
“Don’t care” is probably a stretch. There is still a ton of corporates who pay MS license feee for Windows. It’s still a huge part of core revenue, but future long term. revenue streams will come from services and new platforms.
cwyers · 7 years ago
...why? In the consumer/desktop hardware space, Windows has much, much better driver support. What benefit would they get from this?
s3cur3 · 7 years ago
Previous discussion, with the official source: https://news.ycombinator.com/item?id=19842817
AtHeartEngineer · 7 years ago
I want native bash commands in Windows shell. I know powershell supports some commands, but and actual Linux shell to interface with the rest of windows will be awesome. WSL is getting there, sucks I've gotta install Python and node/npm twice.
echeese · 7 years ago
The interop is pretty good, I don't have cowsay on Windows and I don't have node in wsl, but this still works:

    C:\Users\Ryan>wsl cowsay hello
     _______
    < hello >
     -------
            \   ^__^
             \  (oo)\_______
                (__)\       )\/\
                    ||----w |
                    ||     ||
    
    C:\Users\Ryan>wsl
    ryan@DESKTOP:/mnt/c/Users/Ryan$ notepad.exe test.js
    ryan@DESKTOP:/mnt/c/Users/Ryan$ node.exe test.js
    hello, world!

YeGoblynQueenne · 7 years ago
Do you need to do something special for "wsl" to send a command to wsl? I only get an error on my win 10 machine (that "wsl" is not a known command/let).
underwater · 7 years ago
I wish that PowerShell had a way of breaking down the learning curve. It understands some basic Bash commands like `ls` and `cd`, but I feel it would be good to use those as teachable moments, like tell me that `ls` is actually running `Get-Contents` or whatever.
kuzimoto · 7 years ago
I actually generally stay away from using aliases, since I like the verb-noun format and keeps it consistent with all the other commands.

But if you are ever curious, you can use Get-Verb[1] which will tell you what is going on.

[1] https://docs.microsoft.com/en-us/powershell/module/microsoft...

kuzimoto · 7 years ago
I wouldn't even really say that PowerShell supports any Unix commands, they are just aliases. It breaks down pretty quick if you were to try to use any parameters.

They can still be useful, but just mostly while navigating in a command window.

tenebrisalietum · 7 years ago
there's cygwin, I think it's still active.
TheChaplain · 7 years ago
It is, I use it daily and it's very good.
neop1x · 7 years ago
it's funny how web developers are finally discovering UNIX, bash and free software now and how MS is surprised. Cmdline has always been unusable, powershell is better but people need a proper pty and Bash.
bastard_op · 7 years ago
Nevermind we tried to curb stomp you for the past 25 years. Haha.
aceperry · 7 years ago
I was thinking that when I read it. We're so far from the days when MS claimed that Linux had a lot of stolen and copyrighted code in the kernel.
bubblethink · 7 years ago
Not really. We don't have ntfs and exfat drivers in the kernel due to patent claims. Fedora can't even show fonts properly. This is just usual diplomacy. Nothing to get too happy (or too worked up) about.
sayusasugi · 7 years ago
I have been noticing an uptick in pro Microsoft propaganda on Hacker News. Does Microsoft seriously think developers opinions can be swayed by some lip service after almost 3 decades of abuse?

Deleted Comment

OneWordSoln · 7 years ago
What was old is new again, embrace and embed may succeed where extinguish failed.
pepoluan · 7 years ago
This. Probably. Quite soon enough people who don't know better will think that the Proper Way to run Linux is as WSL inside Windows 10...
Quiark · 7 years ago
So how will the kernel run? I guess virtualised behind the scenes using Hyper-V and accessed using the Windows Terminal? Seems that this should replace the WSL project entirely which is kind of a shame because it was pretty cool.

Also, unlike others here, I'm not a fan of a computing monoculture where everything is UNIX going forward.

zeusk · 7 years ago
You might find this interesting, https://youtu.be/tG8R5SQGPck?t=24m50s

Checkout the lightweight VMs (start around 38:00)

shmerl · 7 years ago
It replaces Wine-like WSL with some virtualization. Apparently performance of WSL didn't cut it comparing to VMs.
josteink · 7 years ago
If this improves IO speeds, I will be positively surprised.

Those were always subpar with WSL.

int_19h · 7 years ago
It's very lightweight virtualization though, not a traditional VM.
continuations · 7 years ago
Does GPL require Microsoft to open source Windows 10 then?
IceWreck · 7 years ago
No, the only have to release the source for the custom kernel that they will use in their subsystem.