Rendered at 05:31:34 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
londons_explore 15 hours ago [-]
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...
nialv7 13 hours ago [-]
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.
okanat 11 hours ago [-]
The performance of the process creation isn't a bug but an intended tradeoff. NT is slower because its process creation does more (checks for permissions, reloads binary, does relocation from scratch for DLLs, basically what fork + exec does but a bit more).
Many Unix systems didn't have threads but relied purely on multiprocessing. Threads on Linux is still a hack on top of the process API: clone.
On the other hand NT came with threads from the first release to do multitasking. It doesn't have fork because NT developers didn't want to add the hacky fork syscall for cloning the process / its memory area.
temac 7 hours ago [-]
NT has fork (not used often though, and not usually for creating child processes although maybe posix subsystems did it). Win32 doesn’t. Clone is fine. Spawning under Linux is way faster than spawning under NT, there is no tradeoff.
toast0 12 hours ago [-]
My understanding is most of the windows file system suck is from the ever present synchronous anti-virus hooks on every read and write. If you disable that, it gets a lot better: I don't know how competitive it is, but it's decent. Unix/Linux file perf would suck if you forced synchronous anti-virus hooks as well.
Procees creation in NT is slow, but many applications can be designed to avoid it. Process creation is a bottleneck on Unix/Linux as well, the bottleneck is just usually not a big deal until you're trying to fork thousands of times per second... Then you have to do the same work you'd have done on NT to avoid forking.
asveikau 4 hours ago [-]
I think the most painful operation in NT filesystem apis are those dealing with filenames. Once you have a handle and only deal in handles, it does better.
This is also complicated by the fact that NT tends to orient operations around handles, but win32 deals in names. So the win32 to NT translation step often has an extra CreateFile or two.
Also filesystem drivers are kind of heavy on windows, and compared to Linux VFS they have more caching and stuff that gets applied globally. I believe, for example, that on Linux you get the name to inode caching from the VFS layer, and in windows it lives in ntfs.sys. You can read that contrast as Linux allowing performance focus in the right layer and Microsoft bolting on non-essential bloat and complexity in the FS driver.
(Also, hello.)
cyberax 10 hours ago [-]
No. The file system layer in NT sucks because it sucks.
File operations in NT are implemented using a very generalized model of IRPs (IO Request Packets) that are routed through (possibly) multiple layers of filters. It's very generic and extensible, but not fast.
They actually had to add a layer of shortcuts ("Fast IO") that bypasses this for a limited set of data operations, but not for metadata. This layer just uses classic tables of function pointers instead of IRPs, just like in Linux.
sysmax 6 hours ago [-]
IIRC, the slow NTFS operations on small files is a safety trade-off. If you read 1000 small files using the NTFS driver, it will re-read all the associated control structures 1000 times, instead of caching and assuming no change. So, if anything else corrupts those structures on a mounted volume, it will get discovered earlier.
It is possibly related to the fact that mounting an NTFS volume doesn't prevent other software from writing to it via \\.\PHYSICALDRIVEn. With Windows effectively being a legacy OS for running legacy software, it's totally understandable why they would not change it.
regularfry 13 hours ago [-]
Wasn't process creation being slow an explicit design choice? I seem to recall that it was a tradeoff for better in-process threads but I might well be misremembering.
dblohm7 13 hours ago [-]
> process creation is especially slow
Again, that's not an issue with the NT kernel itself; most of that time is due to the Win32 layer which jumps through extraordinary hoops to support its app model, which essentially is an emulation of 16-bit Windows.
11 hours ago [-]
ghm2180 14 hours ago [-]
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?
giancarlostoro 14 hours ago [-]
NT used to be notoriously bad at security, before UAC (which everyone hated, and came out in Vista) everything ran as admin. Hell, I remember exploits where just visiting a web page would load an EXE into your system.
ryanschneider 13 hours ago [-]
It didn’t even requiring visiting anything. At one of my first jobs I reformatted my machine to base windows 2000 and it was compromised before I could download the service packs.
IIRC the issue was that our ISP gave everyone a public IP and allowed NetBIOS traffic from the outside world and there were so many attackers port scanning IIRC port 139 you were found and compromised within a couple minutes of booting up.
IIRC the work around was to boot into safe mode and disable SMB and NetBIOS then reboot and download the service packs (or get an image with the service packs already baked in).
dfe 12 hours ago [-]
I vividly remember those days. To be fair to Windows NT, the very same could happen if you set up Solaris or Linux or really anything running an NFS server out of the box, even if no mounts are exported. All it takes is a bug in the NFS or (Sun)RPC server code before it even gets to the point where it's trying to actually serve something. Such bugs have existed.
And why limit ourselves to file sharing? Bugs in the TCP/IP stack itself have led to things like the "ping of death" (Windows 95) or more recently demonstrable RCE against the Linux kernel by using TCP options in an unexpected way.
The main distinction is that Windows NT, even the earliest 3.1, enables the SMB (file and print sharing) service by default. In 1990 when it was being designed, and even by July 1993 when it was finally released, I'm sure this didn't seem like a big deal. All of this was meant to be running in the safety of a LAN. The direct predecessor product (co-developed with OS/2) is even named "LAN Manager".
Yes, if you open up your SMB server or NFS server to the broader Internet, you're gonna have a bad time. As I recall, this could be avoided by doing advanced network setup and just making sure you did not bind "file and print sharing" to any interface that had a public IP without an external firewall. Once you got all the service packs applied, you could go back and turn it on if you needed it.
badc0ffee 12 hours ago [-]
I know this was 25+ years ago, but that's just your ISP being a good ISP. You should get a public IP address and you should be getting all traffic that comes to that address. The real solution would have been a hardware firewall or NAT like a Cisco PIX on your side.
(Definitely not blaming you or your team. I worked in a small, understaffed place with a similar network in the late 90s and had similar problems.)
toast0 12 hours ago [-]
> should be getting all traffic that comes to that address.
I feel like some ports have earned their retirement from public service.
My (residential ISP) blocks these for inbound and I can't really argue that it shouldn't:
19 (chargen), 67 (dhcp), 135-139 + 445 (microsoft smb/rpc), 161 (snmp), 1900 (ssdp), 10001 (ubiquiti discovery... this one seems the leaat justifyable)
It's maybe a bit heavy handed, but these things don't need to be on the internet and a little bit of blocking helps stop a ton of abuse. If you really want to run chargen, you can do it on another port. :p
pak9rabid 11 hours ago [-]
Sounds to me that the real issue was putting Windows machines directly onto the Internet with a public IP, and no firewall between them and the outside world.
mcculley 11 hours ago [-]
That is saying the same thing. Windows at that time could not handle being connected directly to the Internet, which made a lot of us less likely to use it as a server for Internet services.
darksim905 11 hours ago [-]
With a basic firewall on a network, this makes no sense. If this is a job or business, that means something locally was infected.
haraldooo 8 hours ago [-]
Around that time very few owned a router at home. There was no wifi and no other device that could connect to the internets. We all dialed in via modem over landline. (PPP.. w/o OE).
You did get infected by just going online.
SmashDan 11 hours ago [-]
Windows computers of that period were under attack from so many different vectors that an infected machine on the network wasn't unlikely. We kinda take for granted how secure modern computers are by comparison.
That said the guy did say that he had an exposed IP. Early internet providers used to provide just a modem, and you would have to buy your own router.
darksim905 11 hours ago [-]
man, this is making me think of old DOCSIS cable modems, the AOL days, and Windows 95/Windows 98.
Still. For a Windows enthusiast like me, this project is something I've been looking for/hoping works this will for a long time. Very exciting, because instead of using janky WSL2 on Windows, can just have native Linux whenever I need or want it, and then run the Linux version of Firefox with all my standard Windows blobs. Awesome.
ale42 13 hours ago [-]
Same, I was deploying Windows 2000 to a machine, and it got infected by one of those NetBIOS worms during the installation. My ISP at that time have a simple cable modem, which was giving out a single unfirewalled public IP to the PC behind it...
mycall 1 hours ago [-]
There were many popular software firewalls available at the time for Windows 2000. I guess the word didn't get out enough by then.
nine_k 12 hours ago [-]
WinNT the OS ≠ NT the kernel. It's like e.g. Red Hat the OS vs Linux the kernel.
And yes, the stuff above the NT API is... not nearly as good.
gpvos 13 hours ago [-]
Those problems weren't in the kernel, but in the layers above it, mostly the UI.
giancarlostoro 13 hours ago [-]
Not sure about that... there were definitely issues with Windows NT outside of the "UI" layers? It also came with certain services enabled by default which exposed your system to all sorts of shenanigans. I was but a kid / teenager (depending on which version of Windows), but I remember all sorts of simple exploits like giving yourself admin as a normal user.
Those still aren't _kernel_ issues, though; those are configuration issues.
11 hours ago [-]
efdee 13 hours ago [-]
I think you are confusing NT with 95/98/ME/XP ?
spider-mario 13 hours ago [-]
XP was NT 5.1.
noir_lord 13 hours ago [-]
XP SP2 was about where things really changed.
Gates realised that been not just insecure but publicly seen as insecure at the level they where trending towards was going to be an existential problem.
> So now, when we face a choice between adding features and resolving security issues, we need to choose security. Our products should emphasize security right out of the box, and we must constantly refine and improve that security as threats evolve. A good example of this is the changes we made in Outlook to avoid e-mail-borne viruses. If we discover a risk that a feature could compromise someone's privacy, that problem gets solved first. If there is any way we can better protect important data and minimize downtime, we should focus on this. These principles should apply at every stage of the development cycle of every kind of software we create, from operating systems and desktop applications to global Web services.
Though in hindsight given what Windows 11 has become this :-
> If we discover a risk that a feature could compromise someone's privacy, that problem gets solved first.
I have no idea why there's suddenly so much NT kernel glazing on the internets. Like Crowdstrike didn't just happen.
dwattttt 8 hours ago [-]
Crowdstrike doesn't make the NT kernel, they made a proprietary driver that blew up (on bad data ingest IIRC, not even on a driver update).
hparadiz 6 hours ago [-]
They both suck. Microsoft for not addressing this for years before and Crowdstrike for pushing a bad driver. It took world wide headline news to get them to act but this was a problem with the NT kernel for years. It was a regular occurrence that drivers would be pushed and hose an install. It is one of the biggest post Windows Update failure states.
dwattttt 6 hours ago [-]
Just to be clear, the problem you want Microsoft to solve is other people writing bad drivers?
I could see driver certification becoming much more restrictive & expensive as a way to raise their quality, but short of that what solutions could exist?
hparadiz 57 minutes ago [-]
It should not be possible for this to happen. You can load the driver into memory and test all through memory before installing it for next boot. I do this myself. That not being part of install procedures is the typical dropped ball at MS.
ok123456 14 hours ago [-]
Musk was just thinking: CGI slow, isapi fast.
gpvos 13 hours ago [-]
This is actually the most likely explanation. Even in the tiny number of cases that he's right, it's for the wrong reasons.
okanat 9 hours ago [-]
I wouldn't call core Win32 (ntdll, kernel32, user32, wsock32) mediocre. Windows NT userspace always had full async IO support. It is quite fast and really robust under load. If you used pure Win32 apps like Rufus, you'd see that it actually flies. Games also use pure Win32 and DirectX. They are quite good in performance as well.
Win32 is basically too big to have a global opinion. There are good parts and then there is event tracing API :)
It is still well-designed for its purpose and there is a lot of thought put for future compatibility, most changes do not affect the API but adds another bit field or puts some fields in a struct which has pre-reserved fields.
Now, Microsoft has largely abondonned Win32 and kept reinventing UI framework on top of UI framework. WPF was actually good. It is like QtQuick: declarative and GPU accelerated.
WinUI that came with Windows 8, however, is crap. Moreover Microsoft made 3 incompatible versions of it and didn't fix the bugs in the earlier versions and WinUI 3 is still accreting more. They also ported system utilities like Explorer to WinUI 3 inheriting all the bugs. You can still launch old Control Panel (pure Win32) and its performance compared to Settings (WinUI 3) is day and night. Moreover they do crazy stuff like using React Native to generate WinUI because they fired their capable devs and now left with full stack JS ones.
Add all the overhead of adware and extra telemetry and the AI bullshit, Windows 11 became a sluggish mess that requires a deep cleaning script after install to get the actual performance out. Win32 is still there, it is still fast. Whatever diff they have with Windows 7 isn't
jasomill 5 hours ago [-]
Windows 11 isn't a sluggish mess in my experience, no cleaning required beyond Group Policy options to disable a few things like widgets and Start menu Internet search and ticking the accessibility checkbox to disable UI animations, and I'm running it on hardware ranging from current to Ivy Bridge, with both Microsoft Endpoint and SentinelOne for corporate crapware (not on the same machine!).
Telemetry, however, is unfortunate in that it the only official way to fully disable it is limited to Windows Enterprise.
As others have noted, certain things like metadata-heavy filesystem operations and process creation are much faster on Linux: running a quick test just now, on broadly similar hardware (and the Windows box has a slightly faster CPU and SSD), Windows takes around 90 ms to run a trivial C program that Fedora 45 runs in less than 2 ms; some of this may be PowerShell vs bash overhead, though cygwin/msys2 bash is even slower).
What I haven't noticed, though, is a noticeable difference running heavy cross-platform GUI applications like Firefox and Rider on Windows vs Linux, or Windows Terminal being noticeably less responsive than Konsole (though PowerShell certainly isn't winning any awards for speed).
andai 8 hours ago [-]
> Windows 11 became a sluggish mess that requires a deep cleaning script after install to get the actual performance out.
Is there still a LTSC version? Or does that need "cleaning" too?
I don't use Windows, except once or twice per decade for nostalgic reasons, like visiting an old favorite prostitute for old times sake, to see how she is holding up.
okanat 7 hours ago [-]
> Is there still a LTSC version? Or does that need "cleaning" too?
There is. It requires significantly less "cleaning", almost none, but still a couple of annoying defaults. If you can live with the missing stuff, it is good.
Compared to consumer edition, it lacks the codecs and they are delivered through Microsoft Store unless you deploy it properly with the Enterprise tooling ($$$$). I don't want to deal with that so I use consumer edition Pro (which I have a legal license for with my XPS 15 and Thinkpad P1 Gen 5).
If you set up the consumer version with an EU locale, Windows also lets you remove almost anything, permanently. Anywhere else, tough luck. I think many problems with bundling and adware are not technical but social / legal problems. Push your governments to regulate big tech!
> I don't use Windows, except once or twice per decade for nostalgic reasons, like visiting an old favorite prostitute for old times sake, to see how she is holding up.
I was a full-time Linux user until 2020. I bought a Thinkpad for it. But I encountered so many driver issues with the new laptop that didn't get solved for a year or even more. Compounded with the studies, the stress of job search and the need of having something up-to-date (i.e. no "stable" distros) that works after the setup, I moved away. I knew and I know Linux desktop is still decades behind in many areas, I used to use it despite the fact.
After taking a microkernel course at the university and exploring L4 stuff, I definitely prefer NT's design over Linux. Dealing with real C / C++ deployments in a few jobs also made me appreciate Win32 more.
However, I just don't want to bother maintaining an OS unless someone pays me (which my employer does for a custom distro, that we have to patch kernel and other system bugs constantly).
IshKebab 7 hours ago [-]
Yes there is and it's very clean and fast. The only two problems I had with it were: 1. you can only buy it for a sane price on the grey market, fine for personal use. 2. it has some app store/gaming component that isn't installed by default, which isn't an issue for 99.9% of things (including Steam) but there was some random piece of software I wanted that was only distributed via NuGet and that was an insane mission to get working. I did manage it in the end but only by copying random DLLs from third party websites, which sucks balls.
Even so, it's easily the best OS option for PC at the moment. Linux/KDE is ok but Windows 11 is just more rock solid. I wish they would fix their schizo settings apps though. How are so many settings still only in the Windows NT era Control Panel?
okanat 7 hours ago [-]
> Even so, it's easily the best OS option for PC at the moment. Linux/KDE is ok but Windows 11 is just more rock solid. I wish they would fix their schizo settings apps though. How are so many settings still only in the Windows NT era Control Panel?
I would love it if they reverted the Settings app and gave us back the Windows 7 Control Panel. The new Settings app is so dumbified, I had to develop skills in Powershell to get to the settings old control panel had.
1718627440 6 hours ago [-]
Yeah the Control Panel is great. When you want to change something, you just intuitively find it, there is explanations for everything and there are even shortcuts for the next most likely actions. It's like a breath of fresh air. On the Settings app, you find nothing so you need to use the search function, hope that you can think of the right search term. Then the labels and descriptions are actively confusing and are only really clarified when you know which registry setting it's supposed to change and know the description of that. That's when the "simple" and obvious setting option you want even exists.
Yeah at that point using Group Policy or the CMD becomes easier and less frustrating.
andai 6 hours ago [-]
This. Also, I want XP era explorer back.
I ran XP in VirtualBox, inside Win10. I press Win+E. It opens an explorer window. Instantly, in a single frame. Fully rendered.
On the host, Win+E does nothing, for the first half second, then it opens a white blank window, then I have the pleasure of watching it paint in the UI one element at a time.
Pressing it again doesn't go any faster, oddly enough. (You'd think it would be hot in the cache, or something, but they found a way to work around that!)
(And I note that many people lamented that XP was way too bloated, when it came out!)
dizzant 15 hours ago [-]
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.
xanathar 13 hours ago [-]
coLinux well before Microsoft did WSL1. It even had a distribution for it, andLinux.
At some point in time it was possible to install KDE natively on win32 too, but I never got to replace the win32 shell entirely with KDE.
1718627440 6 hours ago [-]
WSL2 is not supposed to be a replacing version to WSL1, just a different variant. But yeah I think they do not invest much resources into WSL1. But did they ever? I thought it was just the repackaged Android implementation.
15 hours ago [-]
gmmachine 15 hours ago [-]
Yeah, I thought the same thing -- I like this better.
However this project is hosted on GitHub so now Microsoft owns this opposite codebase too.
_blk 14 hours ago [-]
MS "Hosts" not "owns" it. It's still LGPL
gmmachine 13 hours ago [-]
Technically that is true. Respectfully, you're missing the nuance of what I said. Because, you're ignoring the fact that Microsoft uses, among other things, the very projects that are hosted on GitHub repositories (which they own) to train their own AI models.
Once that code is refactored inside those models the copyright becomes debatable.
LiteStep or a successor, running Windows 98SE on a 80486, with MSIE removed from Windows, using ehhh.. I don't remember which browser I did end up using TBH. The main program which ran was 'PuTTy'.
andai 11 hours ago [-]
Not sure what specifically you're referring to with performance? In my experience the main bottleneck is io, and in my tests, even Linux in VM on Windows was 6-7x taste than the Windows host on that front.
Not sure if that's the kernel's fault though. (Maybe it's due to ntfs, and it would be faster with a different fs?) Also I noticed over 100 reads to the registry when in a system monitor when I ran hello world in C (win10), which I found amusing and a little depressing.
VorpalWay 9 hours ago [-]
I'm no fan of windows (haven't used it for years), but I should point out that strace will show a lot of file system accesses on Linux that appear pointless too. For example trying to open libc.so in various paths other than where it is.
However, on Linux that still tends to be really fast, in part thanks to the negative dentry cache in the kernel (a cache of failed path lookups, there is a positive dentry cache too iirc).
I don't know if this in particular is a bottleneck on Windows though. I just know the end result of the combined engineering decisions is slow.
protocolture 2 hours ago [-]
Win4Wine4Windows
jeroenhd 14 hours ago [-]
"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.
pitched 12 hours ago [-]
The boilerplate overhead of writing Powershell vs Bash makes it unusable for humans. The worst gotcha for me was when it posts warning about the method names being unapproved verbs? I feel like, if you ever reach for Powershell, you’re already so deep into _Enterprise_ that the issues might not connect.
15 hours ago [-]
0xbadcafebee 12 hours ago [-]
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.
cmovq 15 hours ago [-]
Isn’t the reverse of this project a Linux shell / desktop environment (which is famously not very good) on Windows?
antiframe 15 hours ago [-]
The Linux desktop environment is better than the Windows one. More configurable. No ads in the start menu. Respects your default browser setting. Isn't slow as molasses at browsing files. Easy tiling window manager. No copilot key that constantly throws AI at you. A file/program search that works and is fast. Easier to tell which window has focus. That's just off the top of my head.
I use Windows at work and the UX is godawful.
masfuerte 8 hours ago [-]
> Isn't slow as molasses at browsing files.
What are you using on Linux? I tried a few Linux desktops, all of which had different Nautilus-based file browsers. They were all much slower than Windows Explorer. Just opening a folder was slow and big folders were really slow.
ltlnx 2 hours ago [-]
> Nautilus-based
Your problem is right there. Try using KDE or LXQt, or other Qt-based desktops.
jzemeocala 14 hours ago [-]
very true, especially now.
but, IMHO, XP and & were peak Windows OSes. Vista and then later 8 were the reason i switched to linux to begin with
Hugsbox 14 hours ago [-]
The desktop experience is one of the biggest draws for Linux, it's incredible. I'm forced to use Windows for work (which is the only time I'll tolerate using it), and when I go home to my lovely Linux machines it's like a breath of fresh air every evening.
d3Xt3r 14 hours ago [-]
That was exactly how I drove my Windows XP machine back in the day - I replaced Explorer with Blackbox (bb4win and later xoblite), patched the shell32.dll icons with one of the Linux icon packs (I believe I used Crystal XP at the time), most of my apps were FOSS (Firefox, OpenOffice etc) and my terminal was bash running under cygwin. Everyone who used my computer at the time thought that I was running Linux. :-)
charcircuit 8 hours ago [-]
Why do you consider everything is a file is better than NT's everything is a object?
nubinetwork 46 minutes ago [-]
Wine has a Chicago styled desktop built in, but its barebones... most people never see it though because wine doesn't use desktop mode by default.
There also used to be CinnXP for Cinnamon, but it’s been unmaintained for a while and seems to have fallen behind updates. Maybe an LLM could revive it.
OsrsNeedsf2P 13 hours ago [-]
I've used winxp-tc before and it's a great project. I wish there was one for Windows 7
Cool! This one also looks really interesting, although it is not released yet: https://loss32.org/
Might be an interesting alternative shell with decades of applications supported, although pure modern Linux is now a tough to beat contender.
drnick1 13 hours ago [-]
I very much agree with this:
> The late-90's-to-early-2010's PC desktop experience was great for power users, especially creative users.
layer8 16 hours ago [-]
Nice, this should be able to run things like AutoHotkey.
The drawback is, since it runs Windows XP (or Windows 7) explorer.exe, that it also comes with their vulnerabilities.
toast0 11 hours ago [-]
> since it runs Windows XP (or Windows 7) explorer.exe, that it also comes with their vulnerabilities.
How many vulernabilities are in the desktop shell rather than the kernel and services (and html renderer, but don't expose your desktop shell to untrusted html)
jorl17 15 hours ago [-]
I love this! A classical "because I can project". Love the ingenuity around it.
OsrsNeedsf2P 13 hours ago [-]
That is an incredibly smart approach to it. I've recently been using leftover Claude tokens to transform KDE into Windows 7, but just running it via Wine is genius.
8 hours ago [-]
rnd0 16 hours ago [-]
Linux has been around for something like 35, 36 years now, and it has a healthy infrastructure of it's own apps. I don't think we need to worry about this program making it go the way of OS/2 (which only lasted 15 years, total)
No, It wasn't that since I remember it being wine related specifically
estebank 12 hours ago [-]
You're likely thinking of https://loss32.org/, which was also mentioned in another sub thread. I know it's the first thing I thought of too.
regularfry 13 hours ago [-]
This is both:
a) Perverse
b) Wonderful
relistan 11 hours ago [-]
The best kind of thing :)
trashb 11 hours ago [-]
NT kernel has pretty cool heritage (VMS) and is one of the few "hybrid" kernels widely used. I don't know why anyone would want to put windows explorer.exe on top of linux if we have wine and custom window managers... but what do I know.
Still this project has a nice nostalgia appeal.
pmkary 15 hours ago [-]
So it took less than a day for XNU on Linux to get Windows on Linux. Lets call Linux the universal OS and forget the rest, will ya?
ctmlr 13 hours ago [-]
Soon all operating systems will be one and there will be no such thing as closed source.
ryankung 15 hours ago [-]
So it builds a fake win32 window just to trick explorer.exe into drawing luna borders?
pcwalton 9 hours ago [-]
Building hidden windows is a common Win32 idiom (because, among other reasons, that's the typical way you make a thing that can receive messages).
varispeed 16 hours ago [-]
This is great!
functionmouse 16 hours ago [-]
It's the most beautiful thing I've ever seen. I wonder if Aero is possible.
layer8 16 hours ago [-]
The readme says it’s not supported yet.
RockRobotRock 15 hours ago [-]
This is a great idea
gigel82 10 hours ago [-]
What I would love more would be a supported way to replace the Windows 11 Shell with something from the Windows 7 era, but keep the kernel, drivers, etc.
I have mixed feelings about this. This is both incredible and utterly stupid at the same time. I love it.
funkytownjoe 16 hours ago [-]
I just love Chinese ai slop
layer8 16 hours ago [-]
It’s Japanese.
Warudo 13 hours ago [-]
I always wondered about that. All it took for me was seeing Chinese, Japanese and Korean text side by side, one time. I can reliably tell them apart ever since because they just look so different. Do people really not have that experience? And does it also extend to other writting systems, for example are there people that confuse Greek with Cyrillic?
jandrese 11 hours ago [-]
Once you know what to look for the differences are easy to spot, but if you don't they all just look like boxes full of squiggles.
This page stood out because it's chock full of foreign words written in Katakana, a dead giveaway that it is Japanese. Also, my browser helpfully asked to translate from Japanese to English for me.
Korean is also easy to spot: If you see circles in the characters then you know it is Korean.
mathfailure 14 hours ago [-]
That's just a sort of chinese, like mandarin or vietnamese.
mghackerlady 13 hours ago [-]
This better be satire because as an amateur linguist I so want to punch you right now
mathfailure 12 hours ago [-]
What does it have to do with languages? Ah, amateur.
layer8 8 hours ago [-]
Chinese and Japanese use significantly different writing systems (that’s why they are easily distinguishable at first glance), and this is crucially due to substantial language differences.
snipedbywifi 14 hours ago [-]
we're better off having fun implementations that actually showcase pure AI code over gameslop. Almost zero people care about GPT [x].[y]'s or Fable [x].[y]'s Call of Duty recreations that "cost just $150". That used to be fun for novelty, but games as benchmarks dies down FAST
sorrywhat 15 hours ago [-]
I love it too, we could learn a thing or two and stop spamming shitty one-shotted "games" and "tech demos"
keithnz 11 hours ago [-]
maybe read the guidelines for HackerNews? You seem to be struggling with fitting in with HN culture.
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...
Many Unix systems didn't have threads but relied purely on multiprocessing. Threads on Linux is still a hack on top of the process API: clone.
On the other hand NT came with threads from the first release to do multitasking. It doesn't have fork because NT developers didn't want to add the hacky fork syscall for cloning the process / its memory area.
Procees creation in NT is slow, but many applications can be designed to avoid it. Process creation is a bottleneck on Unix/Linux as well, the bottleneck is just usually not a big deal until you're trying to fork thousands of times per second... Then you have to do the same work you'd have done on NT to avoid forking.
This is also complicated by the fact that NT tends to orient operations around handles, but win32 deals in names. So the win32 to NT translation step often has an extra CreateFile or two.
Also filesystem drivers are kind of heavy on windows, and compared to Linux VFS they have more caching and stuff that gets applied globally. I believe, for example, that on Linux you get the name to inode caching from the VFS layer, and in windows it lives in ntfs.sys. You can read that contrast as Linux allowing performance focus in the right layer and Microsoft bolting on non-essential bloat and complexity in the FS driver.
(Also, hello.)
File operations in NT are implemented using a very generalized model of IRPs (IO Request Packets) that are routed through (possibly) multiple layers of filters. It's very generic and extensible, but not fast.
They actually had to add a layer of shortcuts ("Fast IO") that bypasses this for a limited set of data operations, but not for metadata. This layer just uses classic tables of function pointers instead of IRPs, just like in Linux.
It is possibly related to the fact that mounting an NTFS volume doesn't prevent other software from writing to it via \\.\PHYSICALDRIVEn. With Windows effectively being a legacy OS for running legacy software, it's totally understandable why they would not change it.
Again, that's not an issue with the NT kernel itself; most of that time is due to the Win32 layer which jumps through extraordinary hoops to support its app model, which essentially is an emulation of 16-bit Windows.
IIRC the issue was that our ISP gave everyone a public IP and allowed NetBIOS traffic from the outside world and there were so many attackers port scanning IIRC port 139 you were found and compromised within a couple minutes of booting up.
IIRC the work around was to boot into safe mode and disable SMB and NetBIOS then reboot and download the service packs (or get an image with the service packs already baked in).
And why limit ourselves to file sharing? Bugs in the TCP/IP stack itself have led to things like the "ping of death" (Windows 95) or more recently demonstrable RCE against the Linux kernel by using TCP options in an unexpected way.
The main distinction is that Windows NT, even the earliest 3.1, enables the SMB (file and print sharing) service by default. In 1990 when it was being designed, and even by July 1993 when it was finally released, I'm sure this didn't seem like a big deal. All of this was meant to be running in the safety of a LAN. The direct predecessor product (co-developed with OS/2) is even named "LAN Manager".
Yes, if you open up your SMB server or NFS server to the broader Internet, you're gonna have a bad time. As I recall, this could be avoided by doing advanced network setup and just making sure you did not bind "file and print sharing" to any interface that had a public IP without an external firewall. Once you got all the service packs applied, you could go back and turn it on if you needed it.
(Definitely not blaming you or your team. I worked in a small, understaffed place with a similar network in the late 90s and had similar problems.)
I feel like some ports have earned their retirement from public service.
My (residential ISP) blocks these for inbound and I can't really argue that it shouldn't:
19 (chargen), 67 (dhcp), 135-139 + 445 (microsoft smb/rpc), 161 (snmp), 1900 (ssdp), 10001 (ubiquiti discovery... this one seems the leaat justifyable)
It's maybe a bit heavy handed, but these things don't need to be on the internet and a little bit of blocking helps stop a ton of abuse. If you really want to run chargen, you can do it on another port. :p
That said the guy did say that he had an exposed IP. Early internet providers used to provide just a modem, and you would have to buy your own router.
Still. For a Windows enthusiast like me, this project is something I've been looking for/hoping works this will for a long time. Very exciting, because instead of using janky WSL2 on Windows, can just have native Linux whenever I need or want it, and then run the Linux version of Firefox with all my standard Windows blobs. Awesome.
And yes, the stuff above the NT API is... not nearly as good.
https://www.cnet.com/tech/tech-industry/windows-nt-a-hackers...
https://www.cnet.com/tech/tech-industry/ms-posts-getadmin-fi...
https://learn.microsoft.com/en-us/security-updates/securityb...
Gates realised that been not just insecure but publicly seen as insecure at the level they where trending towards was going to be an existential problem.
> So now, when we face a choice between adding features and resolving security issues, we need to choose security. Our products should emphasize security right out of the box, and we must constantly refine and improve that security as threats evolve. A good example of this is the changes we made in Outlook to avoid e-mail-borne viruses. If we discover a risk that a feature could compromise someone's privacy, that problem gets solved first. If there is any way we can better protect important data and minimize downtime, we should focus on this. These principles should apply at every stage of the development cycle of every kind of software we create, from operating systems and desktop applications to global Web services.
Though in hindsight given what Windows 11 has become this :-
> If we discover a risk that a feature could compromise someone's privacy, that problem gets solved first.
Is pretty funny (in a black humour sort of way).
[1] https://www.wired.com/2002/01/bill-gates-trustworthy-computi...
I could see driver certification becoming much more restrictive & expensive as a way to raise their quality, but short of that what solutions could exist?
Win32 is basically too big to have a global opinion. There are good parts and then there is event tracing API :)
It is still well-designed for its purpose and there is a lot of thought put for future compatibility, most changes do not affect the API but adds another bit field or puts some fields in a struct which has pre-reserved fields.
Now, Microsoft has largely abondonned Win32 and kept reinventing UI framework on top of UI framework. WPF was actually good. It is like QtQuick: declarative and GPU accelerated.
WinUI that came with Windows 8, however, is crap. Moreover Microsoft made 3 incompatible versions of it and didn't fix the bugs in the earlier versions and WinUI 3 is still accreting more. They also ported system utilities like Explorer to WinUI 3 inheriting all the bugs. You can still launch old Control Panel (pure Win32) and its performance compared to Settings (WinUI 3) is day and night. Moreover they do crazy stuff like using React Native to generate WinUI because they fired their capable devs and now left with full stack JS ones.
Add all the overhead of adware and extra telemetry and the AI bullshit, Windows 11 became a sluggish mess that requires a deep cleaning script after install to get the actual performance out. Win32 is still there, it is still fast. Whatever diff they have with Windows 7 isn't
Telemetry, however, is unfortunate in that it the only official way to fully disable it is limited to Windows Enterprise.
As others have noted, certain things like metadata-heavy filesystem operations and process creation are much faster on Linux: running a quick test just now, on broadly similar hardware (and the Windows box has a slightly faster CPU and SSD), Windows takes around 90 ms to run a trivial C program that Fedora 45 runs in less than 2 ms; some of this may be PowerShell vs bash overhead, though cygwin/msys2 bash is even slower).
What I haven't noticed, though, is a noticeable difference running heavy cross-platform GUI applications like Firefox and Rider on Windows vs Linux, or Windows Terminal being noticeably less responsive than Konsole (though PowerShell certainly isn't winning any awards for speed).
Is there still a LTSC version? Or does that need "cleaning" too?
I don't use Windows, except once or twice per decade for nostalgic reasons, like visiting an old favorite prostitute for old times sake, to see how she is holding up.
There is. It requires significantly less "cleaning", almost none, but still a couple of annoying defaults. If you can live with the missing stuff, it is good.
Compared to consumer edition, it lacks the codecs and they are delivered through Microsoft Store unless you deploy it properly with the Enterprise tooling ($$$$). I don't want to deal with that so I use consumer edition Pro (which I have a legal license for with my XPS 15 and Thinkpad P1 Gen 5).
If you set up the consumer version with an EU locale, Windows also lets you remove almost anything, permanently. Anywhere else, tough luck. I think many problems with bundling and adware are not technical but social / legal problems. Push your governments to regulate big tech!
> I don't use Windows, except once or twice per decade for nostalgic reasons, like visiting an old favorite prostitute for old times sake, to see how she is holding up.
I was a full-time Linux user until 2020. I bought a Thinkpad for it. But I encountered so many driver issues with the new laptop that didn't get solved for a year or even more. Compounded with the studies, the stress of job search and the need of having something up-to-date (i.e. no "stable" distros) that works after the setup, I moved away. I knew and I know Linux desktop is still decades behind in many areas, I used to use it despite the fact.
After taking a microkernel course at the university and exploring L4 stuff, I definitely prefer NT's design over Linux. Dealing with real C / C++ deployments in a few jobs also made me appreciate Win32 more.
However, I just don't want to bother maintaining an OS unless someone pays me (which my employer does for a custom distro, that we have to patch kernel and other system bugs constantly).
Even so, it's easily the best OS option for PC at the moment. Linux/KDE is ok but Windows 11 is just more rock solid. I wish they would fix their schizo settings apps though. How are so many settings still only in the Windows NT era Control Panel?
I would love it if they reverted the Settings app and gave us back the Windows 7 Control Panel. The new Settings app is so dumbified, I had to develop skills in Powershell to get to the settings old control panel had.
Yeah at that point using Group Policy or the CMD becomes easier and less frustrating.
I ran XP in VirtualBox, inside Win10. I press Win+E. It opens an explorer window. Instantly, in a single frame. Fully rendered.
On the host, Win+E does nothing, for the first half second, then it opens a white blank window, then I have the pleasure of watching it paint in the UI one element at a time.
Pressing it again doesn't go any faster, oddly enough. (You'd think it would be hot in the cache, or something, but they found a way to work around that!)
(And I note that many people lamented that XP was way too bloated, when it came out!)
At some point in time it was possible to install KDE natively on win32 too, but I never got to replace the win32 shell entirely with KDE.
However this project is hosted on GitHub so now Microsoft owns this opposite codebase too.
Once that code is refactored inside those models the copyright becomes debatable.
This is something RMS noted too, see:
https://news.slashdot.org/story/21/09/18/0432224/richard-sta...
So, yes, they don't own it, but they might as well, because attribution after being refactored inside the AI model becomes vague.
That is the top of the "Boycott GitHub" iceberg.
Not sure if that's the kernel's fault though. (Maybe it's due to ntfs, and it would be faster with a different fs?) Also I noticed over 100 reads to the registry when in a system monitor when I ran hello world in C (win10), which I found amusing and a little depressing.
However, on Linux that still tends to be really fast, in part thanks to the negative dentry cache in the kernel (a cache of failed path lookups, there is a positive dentry cache too iirc).
I don't know if this in particular is a bottleneck on Windows though. I just know the end result of the combined engineering decisions is slow.
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.
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.
I use Windows at work and the UX is godawful.
What are you using on Linux? I tried a few Linux desktops, all of which had different Nautilus-based file browsers. They were all much slower than Windows Explorer. Just opening a folder was slow and big folders were really slow.
Your problem is right there. Try using KDE or LXQt, or other Qt-based desktops.
but, IMHO, XP and & were peak Windows OSes. Vista and then later 8 were the reason i switched to linux to begin with
(FYI: I suggest updating the link in this article.)
Might be an interesting alternative shell with decades of applications supported, although pure modern Linux is now a tough to beat contender.
> The late-90's-to-early-2010's PC desktop experience was great for power users, especially creative users.
The drawback is, since it runs Windows XP (or Windows 7) explorer.exe, that it also comes with their vulnerabilities.
How many vulernabilities are in the desktop shell rather than the kernel and services (and html renderer, but don't expose your desktop shell to untrusted html)
https://www.os2museum.com/wp/os2-history/os2-timeline/
Looks actively maintained, might give it a shot again.. I do miss Vista somehow.
a) Perverse
b) Wonderful
Still this project has a nice nostalgia appeal.
This page stood out because it's chock full of foreign words written in Katakana, a dead giveaway that it is Japanese. Also, my browser helpfully asked to translate from Japanese to English for me.
Korean is also easy to spot: If you see circles in the characters then you know it is Korean.