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
previous next
 
Post comment Comments
dirkson Author
dirkson May 6 2014, 9:39pm says:

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

+5 votes   reply to comment
lol1234
lol1234 May 7 2014, 12:15am replied:

Dirk, kills bugs dead.

+4 votes     reply to comment
Insolent.
Insolent. May 7 2014, 1:43pm says:

Nice work, as always!

+1 vote     reply to comment
dirkson Author
dirkson May 7 2014, 2:16pm says:

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

+1 vote   reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Image Details
Type
Comedy
Date
May 6th, 2014
By
dirkson
Size
500×340
Options
URL
Embed (big)
Embed
Share
Report Abuse
Report media
Add Media
Members only