Why modern software is slow
Oh, this is nothing.Windows force-updated my Notepad.exe to the new modern UI version.It is very visibly laggy for basic actions such as opening menus or scrolling through text.You have to be spectacularly bad at programming to make something so basic so slow in 2022 on a very high-end gaming computer.Not just bad, but utterly oblivious. Casey Muratori excoriated the Windows Terminal dev team for failing to achieve a consistent 60 fps when displaying fixed-width text, which is such a trivial exercise that Casey whipped up a demo in like two weekends. [1]Now the Notepad team insisted on following in the Windows Terminal team's footprints and slowing down the other fixed-width text app that needs to be lightweight fast for all sorts of reasons. Nobody needs Notepad to be pretty. Everyone needs it to work.[2]Just amazing to see something like this happen. It's like a slow motion train wreck, ruining one Windows app at a time.[1] These videos are especially "shocking" because the code he wrote is terse, straightforward, lightning fast, and more correct than whatever madness Microsoft was doing.First weekend: https://www.youtube.com/watch?v=hxM8QmyZXtgSecond weekend: https://www.youtube.com/watch?v=99dKzubvpKE[2] For example, opening a 300 MB log file takes a solid minute of time, which is absurdly slow. It also bloats this to 800 MB of memory usage. For comparison, TextPad opens it in 5 seconds and uses 30 MB of memory. VS Code, an electron application(!) opens in under 2 seconds.