January 2022
Beginner
424 pages
8h 8m
English
Why deterministic and implicit destruction of objects is a big plus of Rust
The concept of ownership of objects
The three kinds of assignment semantics: share semantics, copy semantics, and move semantics
Why implicit share semantics is bad for software correctness
Why move semantics may have better performance than copy semantics
Why some types need copy semantics and others do not
Why some types need to be noncloneable
How to specify that a type must use copy semantics
How to specify that a type ...