7 votes

An amusing story about a practical use of the null garbage collector

2 comments

  1. [2]
    ignorabimus
    Link
    TL;DR

    TL;DR

    This sparked an interesting memory for me. I was once working with a customer who was producing on-board software for a missile... they had a number of problems with storage leaks... the customers chief software engineer said "Of course it leaks". He went on to point out that they had calculated the
    amount of memory the application would leak in the total possible flight time for the missile and then doubled that number.... Since the missile will explode when it hits its target or at the end of its flight, the ultimate in garbage collection is performed without programmer intervention.

    11 votes
    1. redbearsam
      Link Parent
      Funny, but tech debt that will bite them if the software ends up used for a different "product". It's an ugly hack really.

      Funny, but tech debt that will bite them if the software ends up used for a different "product". It's an ugly hack really.

      5 votes