3 ms·
Your application needs to be robust in the face of the power going out, being OOM killed and other non-orderly shutdowns. Given that, there’s no point in using
by david2ndaccount 5y ago
Your application needs to be robust in the face of the power going out, being OOM killed and other non-orderly shutdowns. Given that, there’s no point in using a different mechanism for an orderly shutdown. Just exit, don’t run destructors, they’re a waste of time.
- dataflow 5y agoEverything needs to be perfect, so there's no point in accommodating anything less than perfect?
- 112233 5y agoIs it somehow possible to tell gcc/llvm “This program will never terminate normally. Please don’t bother with static dtors” ? Or at least somehow purge all that code when linking?
- cozzyd 5y agoStrip .fini ?