2 ms·
There's no obligation to pass everything in references. You can wrap most things in Box/Rc/Arc and move on with your life.
by duped 3y ago
There's no obligation to pass everything in references. You can wrap most things in Box/Rc/Arc and move on with your life.
- WastingMyTime89 3y agoBut why bother using Rust then? If you are going to use it like a garbage collected language, you would be better served by one of the slew of other languages with the same features but which are easier to use. The memory management is what sets Rust apart.