4 ms·
> 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 do
by unsnap_biceps 2y ago
> 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.
I half wonder if the calculation cost more than just fixing the code.
- saagarjha 2y agoConsider the marketing value of being able to tell a cool story, though.
- michielderhaeg 2y agoYou can make your allocations faster if you don't have to worry about deallocation. Could be a performance thing.
- weinzierl 2y agoWhen I worked in embedded the world was sadly most often: Design and order hardware first, adapt software and requirements later. Appeared backwards to me but in the world of mass products of extremely high quantities it makes sense to get the best hardware deals you can get month and sometimes years in advance.
- joha4270 2y agoIt /does/ eliminate whole classes of errors. No use after free bugs if you never free memory. That might have been a worthwhile tradeoff in safety-critical software where failures causes people to die (or not die as the case may be here)