One awesome GC feature we will use in Mir!
9il
ilyayaroshenko at gmail.com
Tue Sep 18 14:23:44 UTC 2018
I just remember that D's GC has NO_SCAN [1] attribute!
This will be added by default when for Mir allocations if type
representation tuple has not references. For example, are
Slice!(double*, 2) should never be scanned by GC, but it will be
in GC heap until something refers it.
Let me know if you have ideas how to further improve memory
management and required API in Mir and Lubeck.
[1] https://dlang.org/phobos/core_memory.html#.GC.BlkAttr.NO_SCAN
Best,
Ilya
More information about the Digitalmars-d
mailing list