News for hackers. Stuff that matters.
Re:Exploring the software that flies SpaceX rockets and star... by jetrink on Tuesday May 11, 2021 @10:04AM (#27118242)
That is a great story, but I cringed at the part about adding additional hardware to support their leaky code. Surely there had to be a better way?
Re:Exploring the software that flies SpaceX rockets and star... by bodhiandphysics on Tuesday May 11, 2021 @10:29AM (#27118508)
Don’t overengineer! Malloc has o(n) time in reallocs, so leaking memory can be a viable strategy

Edit: yes I know it’s more complicated than that!

Re:Exploring the software that flies SpaceX rockets and star... by TchoBeer on Tuesday May 11, 2021 @12:04PM (#27119799)
Allocating/deallocating memory has a cost, if you can afford to just add more memory that's faster than any clever memory management solution you have.