On 2017-02-19 13:45, ketmar wrote: > nogc doesn't turn it off, if > says that compiler must ensure that *your* *code* doesn't allocate, Just to clarify, allocate using the GC. It's perfectly fine to allocate using malloc in a @nogc function. -- /Jacob Carlborg