News for hackers. Stuff that matters.
Re:The borrowchecker is what I like the least about Rust by yahoozoo on Saturday July 19, 2025 @10:20PM (#44621384)
For those who program a lot (daily) in Rust, how often do you run into borrow checker issues? Or are lifetime scopes second nature at this point?
Re:The borrowchecker is what I like the least about Rust by airstrike on Sunday July 20, 2025 @12:18AM (#44621931)
Very rarely, but it depends on the domain and/or the part of the code I'm writing.

For context, I mostly write GUI apps using `iced` which is inspired by Elm, so the separation between reading and writing state is front and center and makes it easy for me to avoid a whole set of issues.

Re:The borrowchecker is what I like the least about Rust by AquilaFasciata on Monday July 21, 2025 @10:24AM (#44635465)
I'm a hobbiest, so I only write in it 4 times a week, but I only run into borrow checker issues when I refactor large portions of existing code.
Re:The borrowchecker is what I like the least about Rust by someone_19 on Monday July 21, 2025 @01:58PM (#44638292)
Maybe once or twice a month I'll get some language issue (like no negative trait bounds, restrictions on generic const, or something related to lifetime). I might spend an hour or more on each such case.