low-latency GC

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Sun Dec 6 09:30:03 UTC 2020


On Sunday, 6 December 2020 at 08:59:49 UTC, Ola Fosheim Grostad 
wrote:
> Well, you could in theory avoid putting owning pointers on the 
> stack/globals or require that they are registered as gc roots. 
> Then you don't have to scan the stack. All you need then is 
> write barriers. IIRC

Abd read barriers... I assume. However with single threaded 
incremental, write barriers should be enough.


More information about the Digitalmars-d-learn mailing list