vvaltchev wrote:Given how much Microsoft is investing in Linux, I'd guess it's even possible that one day the NT kernel will be replaced by a sort of Microsoft-patched Linux kernel.
nullplan wrote:I've heard that before, and... no. No, I don't think that will ever happen.
And now the continuation.vvaltchev wrote:Well, the theory is that Microsoft is just a single (even if big) company that has to maintain & develop, alone, a huge project like the NT kernel and that costs a "ton" of money, every year. Given that a considerable part of "desktop" users are moving away to other platforms (phones, tablets or other operating systems) and the future indicates that this trend will continue, Microsoft will earn less and less from the Windows product, as a whole. That's why the company is heavily investing in the cloud services and other stuff. Windows is being slowly de-funded, in my understanding. About 10 years ago or so, the company started to de-fund the Windows testing infrastructure, moving towards a "community testing" model with telemetry. Each release has still internal testing (of course), before reaching beta testers etc, but not at the same level as in the past. So, the idea is that the company might consider at some point the idea of writing a compatibility layer and replace their kernel with a kernel supported by a large community. Their support cost will drop by a lot, in the long term. Of course, that would require making everything *so good* that end users won't even notice. If they do notice, as you said, that would be a huge problem.
Said that, I have to clarify that I'm not exactly hoping this will happen: it's just a theory that makes sense, to me. In other words, I wouldn't be surprised if that happened. But actually, I'd prefer this to not happen because competition is a good thing. If we end up with just a single kernel, its quality over time will decrease.
I still don't think any of this is going to happen. The Windows wellspring is seriously not drying up as much as some visionaries claim. They don't earn the lion's share of their money with licenses to private individuals[1], they do it with licenses to companies. To OEMs to put in their computers. And that is still going strong. OEMs also make their money by selling to companies. And just speaking for myself: I can't do my job (software development) on a tablet. Neither can the accountants, the hardware designers, the managers, marketing... I cannot think of a single department that could switch to tablets. Even HR has some specialized software that must run on Windows. And on the production floor they need specialized software that was written once for Windows. Some of the newer stuff is .NET and could conceivably run on Linux, yes, but on a tablet? Doubtful.
Even the premise that MS are the only ones working on their kernel is flawed. Most of the work happening on kernels these days is hardware support, and there are tons of third parties out there contributing drivers to MS at no cost to them. In fact, MS for a long time had the audacity to charge money for the driver development kit, and people paid it. The DDK still has to be paid if the use is commercial, if I'm not mistaken.
And even if I were to grant that their money is drying up, then it still would not make sense for them to replace NT with Linux for Windows. This compatibility layer you talk about is pretty darn expensive to make. Creating it under the premise that the market is failing would be throwing good money after bad. It would make more sense to abandon Windows entirely once it stops being profitable, but there can be no honest claim of that right now, can there? And before that, to revitalize interest in Windows and the kernel, it would make way more sense to open-source NT and start to compete with Linux on that front. That wouldn't mean open-sourcing Windows entirely, just the kernel. There's still plenty complicated userland to go along with it, that would remain closed-source.
And if you doubt they would compete for developers with Linux, ask yourself what the point of WSL is, from a business perspective. It is not to rub your belly in particular. It was to make Linux developers feel more at home, to make them not switch to Linux for tasks that might require it. WSL as a business move is the exact opposite from replacing NT with Linux.
[1] I had a trip down memory lane, and I only ever paid 30 bucks directly for a Windows license, and while I did buy ca. 10 OEM licenses over the course of my life, how much money could they have made from me when the whole machine cost 300€? Not enough to fund their enterprise, that's for certain.