I'm seeing postings on other forums about new languages whose main feature seems to be a more relaxed borrow checker than Rust. This has come up many times before. I had a go at this back in 2024. The consensus seemed to be that it wasn't enough of a pain point to justify language changes.
But now we are seeing more activity in this area. Everybody has a new "improved Rust" language:
- Ante
- Valen/Vail
- Zeta
- also Carbon, Fang, and Mojo have been mentioned.
The Ante people identify two problems. One is the scope of a borrow extending beyond the last point of use. See the link above for an example. That's supposed to be fixed in the Polonious borrow checker.
The other is the good old back references problem. That can be handled in Rust with Rc, RefCell, Weak, downgrade, and upgrade. Ir works, but the resulting code is clunky. Dangling weak pointers are possible, although they lead to detected errors. Circular ownership and resulting memory leaks are possible and not easily detected.
So what's current thinking on this? Both problems seem fixable without a new language.