Even NASA apparently has rules against dynamic memory management in critical systems.
> 3: Do not use dynamic memory allocation after initialization.
https://sdtimes.com/nasas-10-rules-developing-safety-critica... https://news.ycombinator.com/item?id=4339999
high performance trading systems use the same approach
(of course: failure is less catastophic than it would be for NASA!)
Re:Go is boring, and that’s fantastic
by stephc_int13 on Thursday July 02, 2020 @02:50PM
(#23716613)
Simply in video games.
We use custom allocators and simple allocation policy, often with arenas and other region based system.
Re:Go is boring, and that’s fantastic
by defnotashton2 on Thursday July 02, 2020 @11:01AM
(#23713955)
Video game industry?
The exploits in MMO Servers and security workarounds seem to prove otherwise.
I think this also ignores that video games are _vastly_ more complicated than the space shuttle - from a "computers" perspective. The did some very impressive things with some novel and primitive computers, but the amount of "state" that is being kept track of and data flowing through those computers is tiny.
Outside of NASA (often, literally rocket science!), where has manual memory management ever been done properly? I don't think that it ever has. For that matter, I would be unsurprised if even NASA had manual memory management failures.