Comment by userbinator
1 day ago
On Windows 11 24H2, more stack space was modified by a new implementation of Critical Sections.
IMHO this shows the downfall of Microsoft. Why did they do that? Critical sections have been there for many decades and should be basically bug-free by now. My best guess is someone thought they'd "improve" things and rewrote it, then made some microbenchmark that maybe showed the dubious improvement.
The other comment here mentions Raymond Chen, who wrote this article about why backwards-compatibility is very important (and arguably what got Microsoft into the position it's in today):
This is an existing bug in GTA, not Windows 11.
Really? Someone depending on UB in their software represents the downfall of Microsoft?! What a hot take...
User has working software. User updates operating system. User has broken software.
That's a problem for the party trying to sell operating system updates.
The software was fundamentally broken before the OS update. It was working by pure random chance with undefined behaviour. It’s a C++ issue, not an OS issue. The same code compiled for another OS would have different random results.
2 replies →