ScrumbleShip is the most accurate space combat simulation devised to date. Gather resources, construct a capital ship out of individual blocks, then pilot it with AI or human help against other players.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Leaks
embed
share
view previous next
Share Image
Share on Facebook Post Email a friend
Embed Image
Post comment Comments
dirkson Author
dirkson - - 484 comments

Look guys, a meme! People like those, right?

To really explain what happened, I'd have to use a TON of jargon. Here's the low-jargon version:

A fellow helping me with some network code mentioned that the compiler we use has an "address sanitizer", and suggested I take a look at it. It turned out to be a MUCH better, MUCH faster replacement for a tool I was already using to find memory issues. It helped me track down at least 10 mild memory leaks, and dozens of tiny ones. I've fixed up the mild leaks, and put the tiny ones on my "todo" list for the future. (They'd only make a difference after 2-3 months of constant scrumbleshipping)

What does that mean for scrumbleshippers? Honestly, not much for now - Under normal circumstances, these leaks would add up to a decent amount of ram only after a couple hours of constant, active play, which is pretty rare so far. Still, it's excellent groundwork for the future, and the tool switch has also found a few minor bugs, making ScrumbleShip more stable.

It's a small slice of humble pie for me, though - I had thought my code didn't suffer from these common issues, when in reality they were merely smaller than I could currently detect.

Cheers,
-Dirk

Reply Good karma+5 votes
lol1234
lol1234 - - 1,765 comments

Dirk, kills bugs dead.

Reply Good karma Bad karma+5 votes
Insolent.
Insolent. - - 669 comments

Nice work, as always!

Reply Good karma Bad karma+1 vote
dirkson Author
dirkson - - 484 comments

Just realized the meme says "my cody" instead of "my code". Drat.

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: