Anyone using @nogc exceptions (-dip1008)?
Atila Neves
atila.neves at gmail.com
Wed Mar 6 14:33:38 UTC 2019
On Wednesday, 6 March 2019 at 12:36:56 UTC, Mike Parker wrote:
> Some time ago, Walter asked me to postpone DIP 1008,
> "Exceptions and @nogc". Subsequently, an implementation was
> merged behind the -dip1008 flag. In helping to determine how to
> move forward with the DIP, we'd like to know if anyone is
> actually using the feature
Quite a bit.
> and, if so, what your experience with it has been.
Well, it doesn't work, as mentioned above. But I've come to use
it anyway because I'm ok with "this code is nearly @nogc, the
exception (hah) being exceptions".
If it worked (especially the part regarding calling destructors
on caught RC exceptions) I'd've already announced this:
http://code.dlang.org/packages/nogc
But it doesn't, so I haven't.
AFAIC all it needs are for the bugs to be fixed.
More information about the Digitalmars-d
mailing list