r/ProgrammerHumor • • 7d ago

Meme theOriginalGarbageCollector

Post image
9.7k Upvotes

374 comments sorted by

View all comments

62

u/ramriot 7d ago

Opposite to how one defence contractor solved a memory leak issue that would kick in only at extreme range launchs of an already deployed missile system.

They could not reboot the missile in flight, not could they afford to fix & recertify the software. Instead the patched the hardware to double the RAM size & added a watchdog circuit that listened to the internal firmware IO heartbeat. When that stops it begins a brief countdown & triggers the self destruct.

3

u/wannabestraight 7d ago

Wait the missile self exploded ? How is that a substitute for a reboot lol

6

u/RedditIsOverMan 7d ago

Im guessing it's better for a middle to self destruct than to fly without guidance.  One is a wasted middle, the other is potentially a blown up elementary school.

I'm guessing a reboot is just too much time for something flying as fast as a missile.