Hacker News new | ask | show | jobs
by es 6419 days ago
SimCity had a bug where it used memory it already freed. This worked under DOS for whatever reason, but not under Windows. So the Windows team hardcoded a special case just for SimCity.

It sounds like there was a some kind of bug in DOS that allowed SimCity to work with object freed from memory and Windows team tried to hide it in Windows by making a special case :)

In any case I think it's called going an extra mile for the customer, isn't it? (I can't believe I'm writing it about MS)

1 comments

Reusing freed memory is a bug. Period.

It might work sometimes, but I'm pretty sure most platforms consider that behavior undefined.