@live questions
Walter Bright
newshound2 at digitalmars.com
Wed Nov 25 10:48:19 UTC 2020
On 11/22/2020 3:08 AM, Dibyendu Majumdar wrote:
> Hi Walter, are you aware of the explicit lifetime annotation facility in Rust?
Yes, and that was part of the discussion.
> This seems critical to allow correct lifetime calculations in a graph of objects.
>
> I read in DIP1000 that there is an automatic lifetime calculation when 'scope'
> storage class is used? However does that work with nested object graphs?
>
> Rust had to have explicit annotations I believe as automated calculations are
> not sufficient.
I recall the examples given for why explicit annotations were needed were
insufficiently compelling.
But we'll see how things unfold.
More information about the Digitalmars-d
mailing list