DEV Community

Discussion on: 🚀 Demystifying memory management in modern programming languages

Collapse
 
ksceriath profile image
ksceriath

The Rust example (in the graphic) is not a compiler error (for quiet sometime now). Compiler is smart enough to understand that "y isn't using it anymore".

Collapse
 
deepu105 profile image
Deepu K Sasidharan

I know, but the image is not that important here. I'll use correct representations for the Rust part coming next

Collapse
 
ksceriath profile image
ksceriath

Cool! No worries. (Though I'm not sure why you'd want to keep an incorrect representation.)