r/ProgrammingLanguages • • Apr 10 '26

Borrow-checking surprises

https://www.scattered-thoughts.net/writing/borrow-checking-surprises
52 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/iBPsThrowingObject Apr 12 '26

That's definitely true. Rust is pretty much the first language to actually do borrow checking, there's bound to be the next one that does it better. Besides Rust has a bunch of small warts outside of borrowck as well, that everyone agrees were mistakes, but now can't be rectified due to backwards compatibility.