Would the ownership model make D lang as complicated as Rust?

Walter Bright newshound2 at digitalmars.com
Sun Nov 15 09:09:56 UTC 2020

On 11/13/2020 9:33 PM, joe wrote:
> In regards to this article 
> https://dlang.org/blog/2019/07/15/ownership-and-borrowing-in-d/
> I have a couple of questions,
> 1. I was wondering if this is going to make D lang just as complicated as Rust?

Good question. That remains to be seen. In any case, you can use O/B on a 
function-by-function basis, you don't need to redesign and rewrite anything.

> 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.

More information about the Digitalmars-d mailing list