RFC: reference counted Throwable

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 21 02:35:40 PDT 2014


On Sunday, 21 September 2014 at 09:01:45 UTC, Johannes Pfau wrote:
> +1, replace it completely with malloc/free.
>
> However, for backwards compatibility malloced exceptions 
> probably still
> have to be added as roots to the GC, at least if they refer GC
> allocated data. This should be somehow optional however.

Yeah, so the GC do not scan in it, and the error message 
disappear randomly under your feet and you segfault when trying 
to read. Looks like a great idea.


More information about the Digitalmars-d mailing list