3 ms·
> you do pay the significant cost of having to satisfy the borrow checker Right, but this is presumably a one-time investment while learning Rust, much less of
by AsyncAwait 8y ago
> you do pay the significant cost of having to satisfy the borrow checker
Right, but this is presumably a one-time investment while learning Rust, much less of an ongoing hurdle.
- IshKebab 8y agoI disagree. It's something you always have to think about. It might get easier but it doesn't magically go away.
- AsyncAwait 8y agoYou often should think about it in other languages too, ie to avoid concurrency bugs. If you don't, there's a good chance your program isn't correct, even if accepted by a less strict compiler.
- IshKebab 8y agoYes. But the point is that you don't have to "dumb down" your program to prove to a static analyser that it is correct. Look at the kind of programs that NLL now allows. You wouldn't have to jump through those hoops in another language.