News for hackers. Stuff that matters.
Re:Why modern software is slow by userbinator on Thursday September 29, 2022 @09:33PM (#33029771)
Fortunately you can copy the binary from an older version of Windows.

At least you could thank Microsoft for being backwards-compatible.

I've done this with calc.exe since ~Vista.

the Notepad team

That's probably part of the problem --- Notepad is something that could be written by a single person in less than a day (it's not more than a wrapper around a Win32 multiline editbox.) Yet give a whole team of multiple people the task of "modernising" it, and work will magically appear to fill the available resources.

Re:Why modern software is slow by paulmooreparks on Friday September 30, 2022 @12:36AM (#33031002)
As noted in the sibling comment, Notepad does A LOT of stuff, some of it to deal with users who use (abuse?) it to do things it was never intended to do, and MS saw fit to keep it doing those things for compatibility. It did these things prior to the update, and knowing MS I imagine it's had to maintain some compatibility with the older version.

That said, I've not encountered the same slowness issues since updating that are discussed here. I'm not a fan of the menu animations, but it's a minor nitpick. For editing huge texts it is significantly more efficient, in my experience. I remember turning off word-wrap in the old notepad after loading a huge log file, then having to wait minutes for Notepad to become responsive again.

Yeah, I know, anecdata....

Edit: The source code to the older Notepad is rather easy to find online. I won't link to it, but it's an interesting read.

Re:Why modern software is slow by ntauthority on Friday September 30, 2022 @01:00AM (#33031172)
This 'modern' Notepad is actually not 'a wrapper around a Win32 edit box', it's (likely to support additional use cases like macOS TextEdit in the future - most the modernization seems to be to haphazardly 'compete' with arbitrary features from macOS) actually a variant of the Office rich text control, which in some cases actually is more performant.

The WinUI parts and initial launch cost, however, are somewhat hard to forgive.

Re:Why modern software is slow by jpitz on Thursday September 29, 2022 @09:45PM (#33029862)
Re:Why modern software is slow by biryani_chicken on Friday September 30, 2022 @02:03AM (#33031507)
> For example, did you know that you can type https://www.microsoft.com/ into Notepad’s File Open dialog?

I tried it. Everything in the File Open dialog got disabled except for the cancel button for about 30 seconds until it loaded. For comparison, curl took 2.3s (250ms in later runs so probably waiting for curl to load) and my browser took around 250ms with cache disabled as well.

Why does it take Notepad so long?

Re:Why modern software is slow by djmips on Friday September 30, 2022 @12:38AM (#33031019)
software is a gas they say.