3 ms·
> Nope, manual memory management can be done properly and this is not rocket science. Outside of NASA (often, literally rocket science!), where has manual memo
by zeveb 6y ago
> Nope, manual memory management can be done properly and this is not rocket science.
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.
- cyb_ 6y agoEven 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-critical-code/ https://sdtimes.com/nasas-10-rules-developing-safety-critica... https://news.ycombinator.com/item?id=4339999 https://news.ycombinator.com/item?id=4339999
- blibble 6y agohigh performance trading systems use the same approach (of course: failure is less catastophic than it would be for NASA!)
- defnotashton2 6y agoVideo game industry?
- pjmlp 6y agoThe exploits in MMO Servers and security workarounds seem to prove otherwise.
- brettnak 6y agoI 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.
- stephc_int13 6y agoSimply in video games. We use custom allocators and simple allocation policy, often with arenas and other region based system.