2 ms·
Interesting how SimCity relied on use-after-free working and that was the issue. Obviously the correct solution was to rewrite SimCity for Windows 3.x in Rust,
by bitwize 4y ago
Interesting how SimCity relied on use-after-free working and that was the issue.
Obviously the correct solution was to rewrite SimCity for Windows 3.x in Rust, thus avoiding this very common bug. /s
- jerrysievert 4y agoI've been updating some MUDs to work on "modern" OS's, and have run into so many use-after-free issues that it's almost become a hobby fixing them.
- myko 4y agoI now maintain the MUD I played as a child and have been playing whack a mole with bugs like this for years. I'm a very poor C coder so still run into issues pretty often! Interestingly the game is much more stable on my MBP that I use for development than it is on the production Ubuntu 18 server I run it on. Not too bad for a Diku. Do you hang out in the Mud Coder's Guild Slack at all? You might find it interesting: https://mudcoders.com/join-the-mud-coders-guild-6770301ddcbd/ https://mudcoders.com/join-the-mud-coders-guild-6770301ddcbd...
- jerrysievert 4y ago> Do you hang out in the Mud Coder's Guild Slack at all? You might find it interesting I don't, but I was named by name in "Playing MUDs on the Internet" :) I have copies of Epic, SillyMUD, Phoenix, and now Kaos.
- 1f60c 4y agoMUD?
- nemacol 4y agohttps://en.wikipedia.org/wiki/MUD https://en.wikipedia.org/wiki/MUD
- DonHopkins 4y agoOr C++! https://github.com/SimHacker/micropolis/tree/master/MicropolisCore/src/MicropolisEngine/src https://github.com/SimHacker/micropolis/tree/master/Micropol...