A Philosophy of Software Design
Kagamin
spam at here.lot
Tue Jun 16 12:51:40 UTC 2026
On Sunday, 24 May 2026 at 01:39:48 UTC, Walter Bright wrote:
> For example, the title of Chapter 10 is "Define Errors out of
> Existence". I've been trying to do that since the 1980s.
Sounds a bit disturbing, on error resume next is a method to
define errors out of existence. The replacement character being
good for unicode is an exclusive property of unicode.
> My compiler took a different approach. It would just keep
> enlarging the string buffer until it ran out of memory. Then
> there was only one error message - "out of memory" - and the
> compiler would abort.
On linux if a service overallocates, it makes the system
unresponsive. I suppose systemd somehow disables oom killer
presumably with an intention to let systemd manage resource
limits, and setrlimit doesn't work for memory for some reason.
More information about the Digitalmars-d
mailing list