Garbage Collection and gamedev - tl;dr Yes we want it, so let's solve it
Ola Fosheim Grostad
ola.fosheim.grostad at gmail.com
Sun Nov 22 15:48:02 UTC 2020
On Sunday, 22 November 2020 at 14:30:45 UTC, Ethan wrote:
> There's many nuanced points to consider here, so given that GC
> came up on the live Q&A and I got in to a bit of a chat there I
> figured copy/pasting that log and getting in to a (real,
> stop-saying-gamedev-doesn't-want-this) longer form discussion
> about the exact kind of GC we want in game development.
You cannot have incremental collection as that requires barriers
and there is no way in D to tell whether you should or should not
emit costly barriers statically during code gen. D would need to
add an actor concept to get there.
So that means there are only three options left: single threaded
GC pool, non-language GC or ARC.
More information about the Digitalmars-d
mailing list