News for hackers. Stuff that matters.
Re:The borrowchecker is what I like the least about Rust by ameliaquining on Saturday July 19, 2025 @09:09PM (#44620985)
Re:The borrowchecker is what I like the least about Rust by rnikander on Sunday July 20, 2025 @06:22AM (#44623654)
Interesting. My projects would benefit from those more convenient clones into closure captures. The other point where Rc is uglier than, say, Swift, is the explicit `.borrow()` and `.borrow_mut()` everywhere. I wonder if that could also be made more convenient/high-level without sacrificing the control over high performance (like C++) that got me to use Rust in the first place.