2 ms·
> Personally i feel the concern over the borrow checker is way overblown. 95% of the time the borrow checker is very simple. I have been using Rust professiona
by klabb3 5y ago
> Personally i feel the concern over the borrow checker is way overblown. 95% of the time the borrow checker is very simple.
I have been using Rust professionally as well and had a different experience. For anything singlethreaded I agree with you. For any asynchronous behavior, whether it's threads or async or callbacks, the borrow checker gets very stubborn. As a response, people just Arc-Mutex everything, at which point you might as well have used a GC language and saved yourself the headache.
However, enums with pattern matching and the trait system is still unbeatable and I miss it in other languages.