"How to Ensure That Your Program Does Not Run Under Windows 95", an amusing and extremely long rant by Raymond Chen about all the weird things game developers did that didn't play well with protected memory https://ptgmedia.pearsoncmg.com/images/9780321440303/samplechapter/Chen_bonus_ch02.pdf …
-
Show this thread
-
-
Replying to @pcwalton @whitequark
I unironically want that to be how operating systems work. Give me reserved memory or give me null. Don't give me death by the oom killer
2 replies 0 retweets 22 likes -
I remember many years ago someone got Firefox working on Nokia N770 (proto tablet) devices where this was true.
1 reply 0 retweets 0 likes -
you can also turn off overcommit if you want
2 replies 0 retweets 3 likes -
Had to look that up, but yeah I think that was part of it too. I recall it being removed though maybe because doing null checks everywhere is a perf loss on most operating systems.
1 reply 0 retweets 0 likes -
you can definitely turn off overcommit on linux today, it's a single knob sysctl. windows doesn't do overcommit as far as i know. etc
4 replies 0 retweets 4 likes -
wait, if windows doesn't do overcommit, why doesn't the snippet of code work?
1 reply 0 retweets 0 likes
Because it consumes all swap space on the system, causing 90s HDDs to grind to a halt. It also does so very slowly, 1 kB at a time
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.