News for hackers. Stuff that matters.
Re:Rust is for Professionals by dman on Tuesday April 13, 2021 @12:14PM (#26794555)
People do think about this all the time in C++ and it is very common to get code review comments about avoiding copies if you overlook such things.
Re:Rust is for Professionals by Koshkin on Tuesday April 13, 2021 @12:28PM (#26794835)
Yup, and I wish the compiler would give a warning on a use of a copy constructor...