Would the ownership model make D lang as complicated as Rust?
mail at skoppe.eu
Sun Nov 15 09:29:52 UTC 2020
On Sunday, 15 November 2020 at 09:09:56 UTC, Walter Bright wrote:
>> 2. Would there be GC still if we use the ownership model?
> Yes, though you wouldn't bother using @live functions if you
> used the GC. There's be no point.
I thought @live can avoid refs count with regard to resource
management, and still get deterministic destruction. That would
be valuable even if there is a gc around.
More information about the Digitalmars-d