List of Phobos functions that allocate memory?

Walter Bright newshound2 at digitalmars.com
Fri Feb 7 00:30:38 PST 2014


On 2/6/2014 7:08 PM, bearophile wrote:
> 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.

DoS attack resistance requires faster code, not slower code.



More information about the Digitalmars-d mailing list