Skip to content

Instantly share code, notes, and snippets.

@danlucraft
Created April 23, 2012 15:00
Show Gist options
  • Save danlucraft/2471470 to your computer and use it in GitHub Desktop.
Save danlucraft/2471470 to your computer and use it in GitHub Desktop.
Windows 95? No problem. Nice new 32 bit API, but it still ran old
16 bit software perfectly. Microsoft obsessed about this, spending
a big chunk of change testing every old program they could find with
Windows 95. Jon Ross, who wrote the original version of SimCity for
Windows 3.x, told me that he accidentally left a bug in SimCity
where he read memory that he had just freed. Yep. It worked fine on
Windows 3.x, because the memory never went anywhere. Here's the amazing
part: On beta versions of Windows 95, SimCity wasn't working in testing.
Microsoft tracked down the bug and added specific code to Windows 95 that
looks for SimCity. If it finds SimCity running, it runs the memory
allocator in a special mode that doesn't free memory right away. That's
the kind of obsession with backward compatibility that made people
willing to upgrade to Windows 95.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment