Ownership and Borrowing in D

Olivier FAURE couteaubleu at gmail.com
Wed Jul 17 19:11:47 UTC 2019


On Tuesday, 16 July 2019 at 06:12:42 UTC, Walter Bright wrote:
> Now I just have to deliver the goods!

Lately, I've been thinking about the possibility of an 
alternative ownership system for D, one that would be radically 
different from what you're considering, but still aim for the 
same features (memory safety, compile-time checking, zero-cost 
abstraction), based on a `unique` qualifier.

If I were to write a formal proposal for it, how interested would 
you be in comparing the two schemes (DIP 1021 and eventually Rust 
"one mutable ref" rule, vs unique qualifier)?

Like, I want to make my pitch, but I don't want to spend huge 
amount of effort on it if you're just going to go with DIP 1021 
anyway.


More information about the Digitalmars-d-announce mailing list