Garbage collection, and practical strategies to avoid allocation

bearophile bearophileHUGS at lycos.com
Sat Jun 1 00:43:49 PDT 2013


Manu:

>  - Scanning the whole heap is costly

Rust avoids this giving a different heap to each thread, and 
common heap to share data managed with unique references.


>  - GC runs at unpredictable moments

Is this true? I think the D GC runs only when you allocate 
something.

Bye,
bearophile


More information about the Digitalmars-d mailing list