Hacker News new | past | comments | ask | show | jobs | submit login

i think Rust is actually encouraging programmers to make extra copies of objects, because that's the most simple path to get things done.

Did I miss anything?




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.


still, 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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: