project-ideas
project-ideas copied to clipboard
ref counting
build a reference counting solution for D
http://mir-algorithm.libmir.org/mir_rc_array.html http://mir-algorithm.libmir.org/mir_rc_ptr.html (with polymorphism) the types will get allocators support
Related: https://github.com/atilaneves/automem
CC @RazvanN7. Maybe you could give a brief summary of the current status and problems?
I think we don't need the vision label. This issue is connected to the @nogc milestone. IMO this is better to keep track of how "visions" are associated with issues.
Exactly what would this entail? A -refcount mode that adds RefCounted! to every heap-allocated object?
Can as ARC to default memory managerment?
Can as ARC to default memory managerment?
Can you be a bit more specific, I have a hard time following you.
I think swift using ARC and has more specific :) https://docs.swift.org/swift-book/LanguageGuide/AutomaticReferenceCounting.html