3 ms·
This is what I like about Rust: there are no copy constructors. There are no "moved-from" object values. Moves are guaranteed to be nothing more than a shallow
by pornel 7y ago
This is what I like about Rust: there are no copy constructors. There are no "moved-from" object values. Moves are guaranteed to be nothing more than a shallow `memcpy`. Structs aren't even copyable unless the author explicitly says so, so if a move compiles, I know it's safe and efficient.
- richard78459 7y agoBut the language is garbage collected, that's not desirable in the domain c++ operates
- Joker_vD 7y agoRust completely dropped GC support in 0.12 — which was released on 9th October, 2014. That happened more than 5 years ago.
- deleted 7y ago[deleted]