The great thing about modern HTML5 + Wasm (or Asm.js) is that it is the first UI technology that works effectively everywhere, which means:
- Web, of course, including as offline app,
- Desktop, via electron (or servo or sciter or something)
- Mobile, via cordova
And applications that work in all three ways are certainly being written. E.g. several instant messaging applications are made that way. But using other languages. And I would like to use Rust.
So what I would like to see is an example application that:
- Uses Rust, with suitable framework (yew comes to mind) to show simple UI.
- Comes with build scripts to pack it for web, with electron and with cordova (probably using wasm-pack somewhere in the process).
I would also like to see build script for Travis and one completely dockerised (as the corresponding Dockerfile serves as testable documentation of the development environment).
Is there anything like that? Is anybody working on anything like that?
If not, I’ll likely give it a shot.