On Tuesday, 13 September 2016 at 22:28:09 UTC, deadalnix wrote:
On Tuesday, 13 September 2016 at 22:19:54 UTC, Jonathan M Davis
wrote:
The big problem with exceptions being allocated by the GC
isn't really the GC but @nogc.
No the problem IS @nogc . Allocating with the GC is absolutely
not a problem is you deallocate properly. What is a problem is
when you leak (ie, when the ownership is transferred to the
GC). If you don't leak, GC do not kicks in.
Can you explain a bit more here? Do you mean in practice (I.e. in
current implementation) or in theory?