List of Phobos functions that allocate memory?
Dicebot
public at dicebot.lv
Fri Feb 7 10:10:11 PST 2014
On Friday, 7 February 2014 at 17:06:36 UTC, Dmitry Olshansky
wrote:
>> I'm not
>> convinced that there's any need for a language change here to
>> support
>> scoped exceptions. That seems a bit like killing the ant with
>> a
>> steamroller.
>
> Well I'm not convinced we should accept that exceptions are
> many times slower then error codes (with checks on every
> function that may fail + propagating up the stack).
As I have already mentioned, they don't necessarily need to be.
But that may require tweaking language so that pre-allocated
exception usage becomes reliable and I don't see tools right now
that allow to express neseccary semantics (can't store reference
to instance without deep copy)
More information about the Digitalmars-d
mailing list