Avoid the GC is not what you think it is
MaybeYouMaybeMe via Digitalmars-d
digitalmars-d at puremagic.com
Sat Oct 8 17:51:44 PDT 2016
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.
More information about the Digitalmars-d
mailing list