logoalt Hacker News

ivanjermakovtoday at 4:42 PM4 repliesview on HN

Microsoft needs to repeat their Edge trick. Migrate Windows to the Linux kernel and get Linux compartibility out of the box. Immense research of running Windows programs on Linux was already done by Wine/Proton teams.


Replies

RiverCrochettoday at 7:12 PM

None of the stuff that makes Windows suck compared to Linux is because of the kernel.

Two things I can think off off the top of my head that do completely suck about Windows: the forced updates and forced antivirus (e.g. Defender). None of those depend on the kernel, and Windows userland running on top of Linux wouldn't inherently make those two things suck less.

okanattoday at 4:49 PM

NT is a better kernel for consumer systems compared to Linux unlike first generation Edge which was a worse browser compared to Chrome.

delta_p_delta_xtoday at 5:14 PM

> Migrate Windows to the Linux kernel and get Linux compartibility out of the box

If I had a quid for every time I saw this comment on HN or Reddit I would probably be as wealthy as Gates himself. It is always an instant downvote for me, because they make me lose faith that people on HN have actually understood what a kernel is and how it works, and what ABI compatibility is, and what user-mode stability is. It is dogmatic and pointless.

The NT kernel is pretty good. Windows is generally well-architected. The NT kernel is the best thing about Windows, and you lot want to swap it out with something decidedly inferior.

Windows' user-mode applications and libraries are also pretty good. By user-mode apps and libraries I mean Win32 itself, WinRT, D2D/DirectWrite, D3D, Winsock, Windows Sound, and the thousands of entrypoints and enums for cool Windows stuff like the registry, synchronisation primitives, file management, special user files, cloud files, accessibility and internationalisation, and more. I've mentioned some other nice platform APIs in a sibling comment.

It is pretty easy to write a full-fledged GUI application on and for Windows that handles heavy use of networking, sound, graphics acceleration, etc without ever having to use a single third-party library, and make it run on OSs that are nearly 18 years old (not the case on most competition OSs).

I also daresay that IE/Edge moving to Chromium was in some ways a bad idea, as Chromium has become the de facto default Web platform, and any non-Chromium browser (Safari, Firefox) is likewise de facto non-conforming.

hoherdtoday at 4:59 PM

It sounds interesting, and surely there would be some awesome things that would come from it, but on the other hand, MS could use this to take control of linux APIs through their "embrace, extend, extinguish" strategy, so it would not be without risk.

Just look at what happened last week with linux distros needing to update their secure boot keys with a new MS signed certificate. https://www.redhat.com/en/blog/expiration-secure-boot-signin...

And look at what MS did with their old version of Office for Mac, where they decided not to simply renew a certificate that would keep the software functioning. https://www.windowscentral.com/microsoft/microsoft-office/yo...

We already have companies like Nvidia and Broadcom shipping binary blobs to support common hardware. Do we really want a corporation like MS getting in on that kind of thing? If MS wrote some really great desktop linux software, it would be hard for the broader linux community to resist being lured into using MS controlled APIs, and handing over part of their control to Linux's most notable rival.