4 ms·
"RAII,deterministic destructors,move semantics, shared_ptr and allocator" ?
by soulbadguy 10y ago
"RAII,deterministic destructors,move semantics, shared_ptr and allocator" ?
- steveklabnik 10y agoMaybe I misunderstood what you're talking about then. Rust very much did not ignore those things. In fact, Rust has (most of) those things, but with stronger guarantees, and/or putting them more core to the language. (Allocators are the asterisk here, those are still a work in progress.)
- soulbadguy 10y agoI not familiar enough with rust, but my point was that adding those feature to C lessen the need of a borrow checker (not that rust don't have those features.)
- the_why_of_y 10y agoMove semantics is a great advance - we can have use-after-move bugs now, just what the world needed!