www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Avoid the GC is not what you think it is

So you annotate all your function  nogc, and you think you solve 
the issue.

WRONG

You miss the problem, you don't even get the problem. What's 
important is that the main data structure of your program is 
managed by you. What you don't get is that it's not a issue if 
for this or that the GC is involved...you know it's just a helper.

When you annotate  nogc you miss the point.  nogc is a functional 
approach. It doesn't matter. What's matter is the data not the 
functions.
Oct 08 2016