Would you pay for GC?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Jan 26 10:24:37 UTC 2022

On Wednesday, 26 January 2022 at 08:32:44 UTC, Elronnd wrote:
> Yes.  Good point.  The more I think about it, the more I see 
> differences and opportunities to profit from doing things 
> differently.

Yes, if the load is somewhat even and you have 16 (8+8) cores 
then you could let 15 tasks run and pick one of the 100s others 
to collect with little impact on latency.

But you need heuristics to pick the one with most garbage and can 
be delayed without penalty (like if the task recently started 
waiting for network response or is marked as low priority).

So even though the situations seem similar conceptually I think a 
*good dedicated implementation* would be very different! :-D

Sounds like a fun project to me!!

More information about the Digitalmars-d mailing list