> Memory management was indeed the sore sticking point, why Rust hadn't appealed to me earlier.
The author doesn't want manual memory management, but still decides to go with Rust.
The author doesn't want manual memory management, but still decides to go with Rust.
But it requires me to manage memory and lifetimes, which I think is something the compiler should do for me.
The author wants the compiler to do memory management? How does Rust achieve this?You’re not often manually managing memory in the same sense as other low-level languages. You’re not invoking malloc and free directly. Thanks to ownership, when you do allocate, Rust will call free for you.
It’s somewhere in between fully manual and fully automatic. It can feel more like one or the other based on what you’re doing, but most of the time, in average, it feels like automatic.