3 ms·
It takes the burden of remembering the interactions between lifetimes across the entire system out of the programmer's hands. Sure, they still have to write th
by dralley 3y ago
It takes the burden of remembering the interactions between lifetimes across the entire system out of the programmer's hands. Sure, they still have to write the code that denotes the lifetimes, and they have to make sure the code continues to compile. But they don't have to remember that an object passed into some function call might be free'd inside a conditional 3 function calls deep
- vitiral 3y agoI don't believe the source was talking about lifetimes but rather creating clever types regarding ownership. Some "programmer" must still construct said types. I would agree that lifetimes are taken out of "the programmer's" hands in Rust for all "programmers" who are not working on the Rust lifetime compiler :D