3 ms·
It definitely does slow things down at the early stages, I find. But it’s time you’ll spend either way: now, or debugging later. Personally I find the borrow c
by nkrisc 4y ago
It definitely does slow things down at the early stages, I find. But it’s time you’ll spend either way: now, or debugging later.
Personally I find the borrow checker to be a useful guardrail as I would certainly write code with all kinds of memory related bugs without it.
- kilgnad 4y agoI'm not referring to the challenge of coding with this style. I am referring to actual trade offs. It increases safety at the expense of modularity and expressivity by a huge amount. The trap door to get around it, is to implement the copy trait, but the point of rust is to minimize this action as much as possible for speed.