Hacker News new | ask | show | jobs
by okanat 9 days 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

2 comments

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).

Not all Windows 11 licenses get GPO access.
Technically no, but all editions have local policy, which is the same thing but... local
> 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.

> 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).

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?

> 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 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.

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!)

What hardware are you running on? I don't have anything close to your issues on a 7500T.