313 points · by oldjokes · 7y ago · 134 comments
They are not putting in a Linux kernel for Windows. Huge difference.
This is nothing more than a way for Microsoft to provide a *NIX userspace competitive with Apple, you know, so developers actually consider using their products instead of Apple's.
Edit:
We're actually in the midst of quite the opposite happening with the Linux kernel. After Android pivots to Fuchsia/Zircon, it'll only be a matter of time before Linux running on the bare-metal outside of datacenters will be exclusively the niche domain of Raspberry Pi style tinkerer devices and the tiny population of Linux enthusiasts running them on increasingly poorly supported PCs.
PC owners will be increasingly less compelled to bother even trying a Linux installation when their OEM Windows install already contains it as a compatibility shim.
This all translates into Linux's native support for modern desktops and laptops deteriorating for lack of users, I fear it's not going to be a growing market.
Why wouldn't they? Windows does billions of dollars of sales a year.
I suspect their lawyers would gently remind them that the Department of Justice and the European Commission were not best pleased when they pulled that crap in the past.
He’s not saying it’s happening right now.
Don’t underestimate what new leadership who have no nostalgia towards Windows, but want to save money to pay themselves bonuses might do.
Just how far back are you talking? Because around 1988 most people were suspecting that apple would migrate to the 88000 at some point in the near future. And by the time it was obvious to apple users and (3rd party) developers that the 88000 was going nowhere fast, AIM had happened.
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.
Constantly people are bringing up that MS should switch to the Linux kernel. It makes zero sense.
You lose the ABI to run all the old Windows binaries out there when you can keep that AND run Linux binaries.
Also people seem to forget that the NT kernel runs on multiple platforms, on my XBox One with x86-64 CPU I can run old XBox 360 RISC CPU games. Windows 10 can run x86 binaries on ARM CPU:s. How is switching to a Linux kernel ever going to help with that?
Consequence of that argument is that Microsoft needs to support TWO flavors of Windows, one with the NT kernel & one with the Linux kernel. On top of that you get all the editions as a multiplier.
Edit: NT kernel & hypervisor.
...doesn't quite have the same ring.
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...
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.
Android was an embracing of Linux, they extended it with Google Play Services, and now they're moving toward extinguishing it.
The classic EEE strategy aims to eliminate a competitor entirely. If that was Google's plan (which I doubt), it was doomed to fail from the start.
In contrast, Windows and macOS both have stable ABIs for third-party drivers, with the result that you can upgrade your OS to the latest version and install the same drivers and they’ll probably work. One notable exception was the Windows XP to Vista transition, which made a number of breaking changes that required new drivers… and just look how that turned out.
If Microsoft switched Windows to the Linux kernel, well… To start off, of course, there‘d be a one-time break of all existing drivers; popular devices already have equivalents in or for mainline Linux, but there’s a very long “long tail” of devices that don’t. But even more importantly, they’d be opting into the Android model of periodic breakage for perpetuity. In theory, they might be able to avoid that problem by forking the kernel and adding their own stable APIs on top. But that would require such deep changes that the resulting fork would either (a) have an “abstraction layer” big and complex enough to be a kernel of its own, (b) be unable to keep up with upstream refactorings and thus diverge permanently and rapidly from mainline, negating the benefit of adopting Linux in the first place… or, most likely, both of those. Never mind the amount of engineering effort required to build that, compared to maintaining the kernel they have. Or the licensing issues they’d encounter in an ecosystem that’s currently even more proprietary-oriented than Android. Or the control they’d be giving up over future development directions (although to be fair, you could have said the same about Edge).
So yes, Microsoft could embrace Linux as their new kernel. But they’d be crazy if they did.
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.)
If they could manage Linux desktops with group policy settings they wouldn’t need Windows at all.
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!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...
They can still be useful, but just mostly while navigating in a command window.
Also, unlike others here, I'm not a fan of a computing monoculture where everything is UNIX going forward.
Checkout the lightweight VMs (start around 38:00)
Also, output of `which code`:
> zeusk@DESKTOP-F776PPQ:/mnt/c/Users/zeusk/Desktop$ which code
> /mnt/c/Users/zeusk/AppData/Local/Programs/Microsoft VS Code/bin/code