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
2
u/oa74 Apr 12 '26
Yes, we're approaching Rice's theorem, which invariably comes up when discussing limitations of Rust. We can be sure there is a hard limit, but the question is: where is it? How close have we gotten? It seems like it's a forgone conclusion that Rust is the best we can do... I'm just not convinced of that. I'm also not convinced Polonius gets us that much more. I think that to make more than a marginal improvement, we would need a substantially different type system, and I can totally understand the resistance to that prospect.