On Borrow Checking

Walter Bright newshound2 at digitalmars.com
Sun May 11 18:23:56 UTC 2025


On 5/11/2025 5:32 AM, Timon Gehr wrote:
> On 5/10/25 06:13, Walter Bright wrote:
>> The @live design was done in a manner to not need any new syntax - it is an 
>> extra layer of error checking.
> 
> That would be giving too much credit.

This is why I stopped working on D's borrow checker. It's all been relentlessly 
negative. But I did get it to the point where it proved that a borrow checker 
can work in D with zero changes to the syntax (except marking a function as 
@live), and I'm happy about that.

When I embarked on ImportC, I got the same response. Until suddenly it became a 
major asset for D. I was just more willing to push through with it.



More information about the Digitalmars-d mailing list