Editions Ideas
jmh530
john.michael.hall at gmail.com
Sun Dec 14 11:55:09 UTC 2025
On Sunday, 14 December 2025 at 06:49:14 UTC, Walter Bright wrote:
> On 12/13/2025 9:45 AM, jmh530 wrote:
>> All else equal, I would recommend trying to more closely
>> follow what Rust has done, particularly with respect to
>> lifetimes, since that has traction in the marketplace. I also
>> have found the arguments for an isolated type to be strong.
>
> Lifetimes are what the dip1000 annotations do.
My broader point was that one clearly has gained more market
share than the other. I think the cognitive load of Rust’s
lifetime rules is lower than DIP 1000. The nice thing about
Dip1000 is that it made scope actually do something, but the
whole system requires keeping more in your head than Rust’s.
Lifetimes are as it relates to DIP1000, but the ownership system
is probably as important for Rust’s popularity. You tried @live
for ownership and I think that’s got much more pushback than
DIP1000.
More information about the Digitalmars-d
mailing list