Re:Ask HN: Best way to learn modern C++?
by cmollis on Wednesday March 07, 2018 @12:41PM
(#16538123)
does Rust basically have the same 'move' semantics as C++ ?
[ Parent
| on HN ]
Re:Ask HN: Best way to learn modern C++?
by steveklabnik on Wednesday March 07, 2018 @12:51PM
(#16538214)
Yes and no. The idea is the same, the implementation is very different.
Rust is “move by default, move always means memcpy (and they often can be elided), no move constructors,” to (possibly too) succinctly describe it.