4 ms·
Being very explicit is what I call manual :)
by amelius 10y ago
Being very explicit is what I call manual :)
- kbenson 10y agoI would say there's still a pretty big difference between using malloc to allocate space for an array of structs which you have to remember to free later and letting variable definitions and scopes handle that for you, like in many managed languages.
- digikata 10y agoI would call memory in Rust manually managed, but automatically accounted. Vs C which would be both manually managed and accounted.
- kaoD 10y agoI'd say the other way around: Rust is manually accounted (you have to take it into consideration when coding) while the compiler automatically manages it for you.
- digikata 10y agoI think we agree on the fundamental concept, but have a varying way of how one interprets the 'accounting' term: is it the tracking of the memory in various categories (which I think we agree that Rust does automatically in a way that few other languages do), or is it marking of given chunk of memory to be tracked in a certain categoric way (which is what the Rust programmer decides in code). Is there a less ambiguous set of terms to apply for these cases?