List of Phobos functions that allocate memory?

bearophile bearophileHUGS at lycos.com
Thu Feb 6 19:08:08 PST 2014


Walter Bright:

> It's not a matter of taste. If your input is subject to a DoS 
> attack, don't put exceptions in the control flow.

Perhaps the world of today malicious attacks on the software you 
write should be assumed as the default situation, and then the 
language+library has to offer something less paranoiac on request.

That's why some languages have changed their sorting and hashing 
routines to make them a little slower but safer on default.

Bye,
bearophile


More information about the Digitalmars-d mailing list