On Friday, 23 February 2018 at 02:02:12 UTC, StickYourLeftFootIn
On Friday, 23 February 2018 at 01:54:07 UTC, Leonardo wrote:
Hi, I'm new to language and games.
Many people say that GC is bad and can slow down your project
in some moments.
What can happen if I create a game using D without worrying
with memory management?
(using full GC)
What do you think will happen? Anytime you delegate power to
something else what can go wrong? Nothing is perfect.
The GC exists to automate a job. The job it does is not the
problem... It does it well. The issue is when it does it. It's
like the noisy garbage man coming in as 3AM to get your
trash... are you ok with that? Some people are.
I understand, I'm not saying GC is bad, but I want to know if it
would be slow to the point of being noticeable in a game. If so,
what is the best way to do this? Placing @nogc everywhere? Thanks.