Because it has largely not been done before, part of me wonders how well Rust would work to build a large, complex GUI. All GUI code I've seen relies on inheritance and dynamic dispatch to structure APIs.<p>I would love to see something like the Flutter Engine[1] written in Rust, which is a layer tree that runs in an OpenGL context and includes text rendering, shape drawing, gesture recognition, scroll layers, a layout engine, etc. – all components necessary for modern mobile app development.<p>[1] <a href="https://github.com/flutter/engine" rel="nofollow">https://github.com/flutter/engine</a>
Gist that I've been developing for quick setup guides (PRs welcome!): <a href="https://gist.github.com/ErichDonGubler/c802e066de7068241f0e6e492e6584ed" rel="nofollow">https://gist.github.com/ErichDonGubler/c802e066de7068241f0e6...</a><p>We're still trying to get this to work with Windows. I've been reporting on this issue here: <a href="https://github.com/White-Oak/qml-rust/issues/31" rel="nofollow">https://github.com/White-Oak/qml-rust/issues/31</a>.<p>Any suggestions to get this going would be appreciated! Developing with Rust/QML on Windows definitely seems possible at this point...that said, most of what's left to be defined is what setup is required to actually get things to work.
Part of me wonders how much better web programming could have been a decade ago if QT was the standard that browsers implemented, and we just shipped around QT frontends that ran sandboxed in the browser.
How does it compare to <a href="https://github.com/cyndis/qmlrs" rel="nofollow">https://github.com/cyndis/qmlrs</a> ?