DIP60: @nogc attribute

via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 19 13:56:42 PDT 2014


I think it would be useful to be able to mark structs as 
@nogc_alloc or something similar.

Interpretation: this struct and any data directly reachable from 
it is guaranteed to not be GC allocated. Then a precise collector 
could avoid scanning those and pointers to them.

Even with @nogc threads for audio/visual real time computations 
the GC itself will have to get down to consistent < 50-200ms 
freezes to get fluid interaction for content computations.



More information about the Digitalmars-d mailing list