3 ms·
Practical use of the null garbage collector (2018)
- phoe-krk 2y ago(2018)
- saagarjha 2y agoFixed
- pjmlp 2y agoIt works great, until the software gets reused in another hardware configuration and then something goes really bad.
- Brybry 2y agoMaybe that could be a feature, for example if an adversary pulls it from a dud?
- elcritch 2y agoOr an adversary steals the code and refuses it. Actually pretty sure that's a real thing in the defense industry. A friend of mine works on F16's. He says they don't really have half the plans to re-create or fix them and another third are just outright wrong, but instead they have to reverse engineer them. I exaggerate a bit. Still it's enough so even if another country stole all the plans they'd not be able to build their own F16s without spending massive amounts to re-engineer half of it and avoid the known issues. That's long been America's main advantage. We can apparently spend insane amounts of money on this stuff, which would bankrupt other nations. It's an odd but seemingly effective strategy. I'm not sure if it's planned or really just a happenstance of Washington politics. Also explains the F35 being absurdly expensive, maybe its a "feature" not a bug.
- sgerenser 2y agoBuggy software getting re-used in another hardware configuration (with no physical safety interlocks) was one of the root causes of the Therac-25 disaster.
- SubjectToChange 2y agoAriane 501 as well.
- 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)
- deleted 2y ago[deleted]