@nogc and exceptions
Jakob Ovrum via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 12 19:01:18 PDT 2014
On Friday, 12 September 2014 at 16:33:50 UTC, Dmitry Olshansky
wrote:
> Agreed.
>
> I think that the total amount of live (not garbage) exceptions
> on heap is small for any typical application. Thus just special
> casing the hell out of exception allocation in the GC (and
> compiler) is IMO perfectly satisfactory hack.
We can't use the GC as the whole point is to mark library code
`@nogc`. It should work even if the user has ripped the GC out of
druntime with a custom build.
More information about the Digitalmars-d
mailing list