List of Phobos functions that allocate memory?

Dicebot public at dicebot.lv
Thu Feb 6 13:48:11 PST 2014


On Thursday, 6 February 2014 at 19:54:27 UTC, Sean Kelly wrote:
> Does this case even matter?  Exceptions are not a normal 
> function of execution, and so should happen rarely to never.  
> And it's a time when I'd expect a delay anyway.

Imagine intentionally crafted broken utf as user input in 
repeated requests. You don't have control over it.

Now if Phobos would have only thrown exceptions in really 
_exceptional_ situations and handled broken input gracefully...


More information about the Digitalmars-d mailing list