r/ProgrammingLanguages • u/jamiiecb • Apr 10 '26
Borrow-checking surprises
https://www.scattered-thoughts.net/writing/borrow-checking-surprises
52
Upvotes
r/ProgrammingLanguages • u/jamiiecb • Apr 10 '26
View all comments
Show parent comment
1
u/iBPsThrowingObject Apr 12 '26
There is a better "ruleset" for borrow checking in Rust being worked on, Polonius has been available as an unstable flag for a few years.
Borrow checking is ultimately equivalent to termination problem, so a perfect ruleset that's both always sound and never rejects valid programs is impossible so there will always be something sticking out