4 ms·
> In an ideal world, Rust's lifetime management would be automatically derived by the compiler (in several cases, when it's simple, it already is). This is exa
by bluejekyll 8y ago
> In an ideal world, Rust's lifetime management would be automatically derived by the compiler (in several cases, when it's simple, it already is).
This is exactly the type of work that's gone into the language over the last few years. It's actually quite rare with non-lexical lifetimes (and the advancements before it) that you need to explicitly call out the lifetimes anymore.
I think the language is moving in the direction you want.