Prototype of Ownership/Borrowing System for D

Walter Bright newshound2 at
Thu Nov 21 01:16:04 UTC 2019

On 11/20/2019 5:13 PM, Walter Bright wrote:
> On 11/20/2019 2:57 PM, Manu wrote:
>> Is there a path perhaps where you only attribute parameters instead of
>> the whole function? We already have `scope`, `return`, etc on
>> parameters... ?
> Perhaps. Seems rather tedious, though.

And less auditable. `scope` and `return` are backed up with compiler checks when 
they aren't used. `@live` is conceptually different - it adds checks, it does 
not compensate for added checks.

More information about the Digitalmars-d mailing list