Tasks, actors and garbage collection

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Apr 21 14:21:44 UTC 2021


On Wednesday, 21 April 2021 at 11:14:39 UTC, russhy wrote:
> It is so good that unreal developers are all working around the 
> GC ;)
>
> Just like the unity peeps, everyone workaround the GC with ugly 
> hacks and ugly code

And that is a good reason to compartmentalize the GC so that it 
only affects one task on one thread if it kicks in. Hopefully one 
can write code that is segmented into many smaller tasks that 
bypass collection altogheter. And if you can't, then write a 
GC-less task.

Anyway, dedicated specialized GCs are not relevant to the 
discussion. Chrome also has a GC, again, it is specialized and 
not relevant.



More information about the Digitalmars-d mailing list