3 ms·
I find the move semantics and borrow checker actually reduces expressiveness and modularity. You didn't mention this in your list of good features. I think th
by kilgnad 4y ago
I find the move semantics and borrow checker actually reduces expressiveness and modularity.
You didn't mention this in your list of good features. I think these are the main hurdles preventing full on popularity.
It's arguably not a "hurdle" per say but it is preventing popularity imo.
- nkrisc 4y agoIt 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.