3 ms·
That it's often similar in C/C++, except instead of the borrow checker being in the way it's fear of memory management or concurrency bugs.
by dralley 3y ago
That it's often similar in C/C++, except instead of the borrow checker being in the way it's fear of memory management or concurrency bugs.
- MichaelMoser123 3y agostill, in c++ you would pass an object by reference to a function call (if that object is not expected to be of very small in size). However in Rust you do have a strong incentive to do otherwise.