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 20:29:24 UTC 2020


On Sunday, 22 November 2020 at 20:20:50 UTC, Ola Fosheim Grostad 
wrote:
> If you want to mix ARC and GC in the same executable, for high 
> efficiency, you need at least two types of pointers: owning and

That was a bit terse. What I meant is that you could use the same 
library for both ARC and GC if you have a distinction between 
nonowning and owning pointers, and that this would be needed for 
efficient ARC/precise GC. If you also attatch a magic hidden 
template parameter to functions then you can have one thread 
using ARC and another one using a thread local GC using the same 
templated libraries.


More information about the Digitalmars-d mailing list