nothrow by default

Gregor Mückl gregormueckl at gmx.de
Fri Jan 10 12:04:39 UTC 2020


On Friday, 10 January 2020 at 06:19:01 UTC, Jonathan M Davis 
wrote:
> A core dump at the point of the error gives you that and more.
>
> - Jonathan M Davis

If only recovering core dumps was reliable these days! It has 
become fashion to misconfigure systems to forward core dumps to 
systemd-journald where they are promptly discarded because the 
daemon considers the dumps to be too large for hiding them in the 
binary syslog.

Apart from that, a crash handler that somehow logs or displays a 
backtrace is preferable when a crash happened on a user machine. 
Depending on the nature of the application, a core dump might 
contain sensitive information that cannot be legally shared with 
the developer (e.g. an in-memory copy of customer addresses).


More information about the Digitalmars-d mailing list