3 ms·
> If you're coming from Java, the most difficult thing you'll need to learn is memory management, I'm coming from a largely Java background (though I program a
by cbm-vic-20 4y ago
> If you're coming from Java, the most difficult thing you'll need to learn is memory management,
I'm coming from a largely Java background (though I program a lot of C and assembly as a hobby), and this statement is very true. Getting used to the borrow checker and reference lifetimes has been the largest obstacle so far. But once that is understood, the rest of Rust is basically learning the idioms and ecosystem.
I will likely change how I write C based on my experience with Rust's memory ownership model..