by pohl · 4y ago · 0 comments
I wonder if something like SwiftUI would work well for Rust.
The clunky `Rc<RefCell<Object>>` that Rust tries to get rid of from UI toolkits in Swift is just `Object`. Rust's undesirable case is the Swift's built-in default (that's not a criticism of Swift, ARC works great there, but these two languages have chosen very different trade-offs).
https://www.infoq.com/news/2020/01/swift-6-vision/
Additionally its async/await and distributed actors story is much better than Rust's current story.