News for hackers. Stuff that matters.
Re:Writing Good C++14 by Default [pdf] by kibwen on Wednesday September 23, 2015 @10:17AM (#10265097)
In Rust, the = operator always represents a shallow copy (for types with move semantics, it will also statically invalidate the source) and there's no way to override this or otherwise permit user-defined code to run. Deep copying is done via a standard method, `.clone()`, which makes it obvious that user-defined code is running.

There are no comments on this comment yet.