And that's after some rather serious debloating...
The only reason for the upgrade is that some software doesn't support win7.
As expected the only thing which works better/faster on the new PC is games.
It's a downgrade in UX/UI too, it looks way worse than win95 classic theme (no point comparing it to aero)
1. VirtualAlloc:
1.1: separation of reserving memory from committing it, thus making overcommit unnecessary, when you want to have memory arenas and reserve a large contiguous chunk of virtual address space, but commit it (so tell the system that you actually want this virtual memory mapped to some physical memory), when you need it. So you can grow your arenas as you need more memory, without worrying that you may not have enough virtual space due to fragmentation, and without relying on invisible things like lazily committing memory on page-faults as long as your program doesn't have any bugs which make it touch that memory in advance and thus make the bugs go unnoticed silently and increase memory use
1.2: ability to implement a circular buffer[1] with a contiguous view instead of head + tail parts; thus making it possible to pass your ring buffer to functions which expect a normal array, and also avoid branches and complexity in code operating on the buffer.
Generally, VirtualAlloc > mmap IMO.
2. Behaviour in OOM conditions. Linux can become completely unresponsive for minutes. Windows is usually responsive enough to kill the offending applications.
3. GUI apps have reasonable baseline for performance of GUI. On Windows it's expected that watching YouTube/Netflix you won't see screen tearing. On Linux screen tearing with VOD in browsers is completely unsurprising.
4. Powershell is nice for a whole variety of reasons.
5. CreateProcess > fork [2]
6. MSVC, unlike GCC and Clang, doesn't come with guns for your children when you unknowingly dare trigger UB.
[1]: <https://docs.microsoft.com/en-us/windows/win32/api/memoryapi...>
[2]: <https://www.microsoft.com/en-us/research/uploads/prod/2019/0...>
(Posted from Linux btw.)
A few days ago, for the first time in years, I tried installing Windows. Booting Windows for the first time was shocking, and I didn't realize how bad things had become. I experienced the same banner warning trying to dissuade me from installing Firefox among many other annoyances (focus stealing, missing drivers, Windows update taking far longer than it should, adverts, just to name a few).
People give Linux a bad rap, but holy shit, using Windows for the first time in years was a truly miserable experience. Not once did I feel like it was a tool there to help me, it felt hostile.