top | item 43333761

(no title)

cheepin | 11 months ago

Rust memory management is automatic. Object destructors run when the object exits scope without needing explicit management by the programmer

discuss

order

pjmlp|11 months ago

More like compiler assisted management, with compiler errors when the developer doesn't follow the teacher.

whattidywhat|11 months ago

The compiler ensures you are writing memory safe code. Otherwise it rejects that code and helps you see the mistake you made. Why people are so upset when the compiler prevents them from building and shipping unusable code will always baffle me.