logoalt Hacker News

londons_explore • today at 2:24 PM • 8 replies • view on HN

The good thing about windows is the windows NT kernel with very good performance, huge array of drivers, NTAPI and good security model. Win32 and the UI layer above is just mediocre.

The good thing about linux is the large suite of opensource tools, "everything is a file" and huge array of composable commandline tools.

Therefore, I think the reverse of this project might be the best outcome...


Replies

ghm2180 • today at 3:46 PM

I recall that Musk got fired from paypal for proposing the use if Windows NT instead of linux/unix kernels for paypal way back. I recall that the reasoning of the engineers was security risk that this might have posed. My engineering brain tells me that the kind of risk wasn't likely poor engineering of NT vs unix/linux kernels, but possibly to do with the proprietary nature of the kernel, i.e. systems engineers in paypal can't really tinker and explore the kernel itself or debug issues in it easily. Was that the security angle paypal engineers were thinking of?

➕ show 2 replies
nialv7 • today at 4:06 PM

NT kernel in fact doesn't have good performance. process creation is especially slow (many orders of magnitude compared to linux) until very recently. IIRC windows' file system operations are also a lot slower than linux.

➕ show 4 replies
dizzant • today at 2:40 PM

Wasn't WSL1 an attempt at your "reverse of this project"? It didn't work out too well, the compatibility layer had too much overhead and WSL2 just went back to a standard VM setup.

➕ show 3 replies
MrDrMcCoy • today at 3:17 PM

I vaguely recall trying a few of these back in the day: https://en.wikipedia.org/wiki/List_of_alternative_shells_for...

➕ show 1 reply
0xbadcafebee • today at 5:21 PM

The good thing about Windows is support. You can call someone if it breaks, and the drivers are made (and supported) by the manufacturers so when you buy some hardware it will actually work. Linux doesn't provide that so it's perpetually difficult to get working. The Linux UX is also painful to troubleshoot/fix, but that's solvable.

Random case in point from this week: fingerprint readers. Did you know fingerprint reader support in Linux is garbage? I didn't, until the one in my laptop started freaking out in a recent kernel upgrade. I bought a few USB ones from Amazon to test them, and they're either totally unsupported on Linux or someone made a fork of a GitLab repo and (thanks to AI) has got the device halfway working, I just have to have my own AI agent develop/compile/install the fork. But there is of course working Windows drivers for all these fingerprint readers, and I can contact the manufacturer's support if I have an issue in Windows.

jeroenhd • today at 3:42 PM

"everything is a file" also applies to Windows where it makes sense. Composable command line tools have been solved since the first release of Powershell (which beats Linux' scripting tools by variables that are more than a string or maybe a number, and an array of those).

Hosting win32 without patches is a recipe for disaster in the image handling libraries and file previews, but it's a pretty neat way of working for the people would would've used Windows XP if they hadn't been forced off away from that.

The closed source nature gets in the way of enjoying Windows (maybe some native components can be replaced with their ReactOS equivalents?) but many of the POSIXisms are just suboptimal designs lauded purely because they're different from what Windows is doing.

➕ show 1 reply
cmovq • today at 2:45 PM

Isn’t the reverse of this project a Linux shell / desktop environment (which is famously not very good) on Windows?

➕ show 3 replies