News for hackers. Stuff that matters.
Re:Why Windows 11 still ships with Windows 95's memory manag... by hyperhello on Wednesday October 21, 2026 @03:30PM (#50186291)
I know compilers have advanced, but I was wondering about a runtime debug check.
Re:Why Windows 11 still ships with Windows 95's memory manag... by chuckadams on Wednesday October 21, 2026 @03:44PM (#50186520)
A sanitizer is that runtime debug check. The compiler just inserts those checks.
Re:Why Windows 11 still ships with Windows 95's memory manag... by hyperhello on Wednesday October 21, 2026 @03:48PM (#50186580)
Okay. Then I have to assume that they didn't do it for SimCity! Thanks.
Re:Why Windows 11 still ships with Windows 95's memory manag... by chuckadams on Wednesday October 21, 2026 @03:53PM (#50186664)
Sanitizers come with a lot of overhead, and the tech wasn't readily available in SimCity's day, certainly not for Windows 95.
Re:Why Windows 11 still ships with Windows 95's memory manag... by hyperhello on Wednesday October 21, 2026 @04:07PM (#50186892)
I was imagining more like some kind of primitive CPU mode that sends every single RAM request to a software exception. Something you would normally have turned off but available for truly heavy duty debugging.
Re:Why Windows 11 still ships with Windows 95's memory manag... by chuckadams on Wednesday October 21, 2026 @04:52PM (#50187457)
That sounds pretty similar to what Valgrind does, basically runs your program in a VM with that kind of instrumentation. The details of how it works are way past the boundaries of my own knowledge though :)
Re:Why Windows 11 still ships with Windows 95's memory manag... by jeffbee on Wednesday October 21, 2026 @07:35PM (#50189128)
The operating system could effect this by not providing any page tables to the CPU, so every memory reference faults and the OS has to handle them all.