Exceptions in @nogc code

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 8 12:24:02 PDT 2017


On Sunday, 2 April 2017 at 21:05:39 UTC, ketmar wrote:
> no, it won't. it is completely safe to free non-GC-owned memory 
> with GC[0].
>
> [0] 
> http://dpldocs.info/experimental-docs/core.memory.GC.free.html

At the cost of a GC mutex lock and metadata lookup, not too 
horrible, but not free either.


More information about the Digitalmars-d mailing list