this post was submitted on 27 Nov 2023
20 points (100.0% liked)
Rust
6049 readers
67 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's kind of how I always thought about it. Did they change something in the Rust book? I learned about lifetimes like 5+ years ago.
Then again, I have experience building a garbage collector, so perhaps thinking about memory instead of code blocks just came naturally to be.
Regardless, thanks for the video, it was quite clear and I'll be recommending it to others (also didn't know about the "outlives" syntax, so that's cool).