Do you use D's GC?

IGotD- nise at nise.com
Sun Aug 1 10:36:52 UTC 2021


On Sunday, 1 August 2021 at 08:54:05 UTC, Kirill wrote:
> It's interesting to hear do you use D's GC? Or do you use your 
> own custom memory management structure?
>
> How performant is GC?
>
> The reason I'm asking is I'm planning to dive into 3D game dev 
> with D as a hobby in an attempt to create a game I dreamed of 
> since I was a kid. I'd like to know if GC is worth using at 
> all, or should I go with 100% manual memory management.
>
> Any opinion is appreciated. Thanks in advance.

There is one question I have, let's say you have a big game that 
uses several gigabytes of RAM. The objects are just allocated 
once with the GC but once you touch the GC like doing a new 
(which can be done by a library function), will the GC then start 
to scan all those gigabytes of data?


More information about the Digitalmars-d mailing list