What would really be interesting is a library that uses the browser for only the UI, and is otherwise basically language-independent. So like Qt or GTK except let the browser do all the gnarly platform-specific parts.
Then the UI is compiled to javascript, which means it's portable and looks the same on every platform, but you can actually write your program in a less brain-damaged language like Rust or Python (or C or whatever you like).
Then the UI is compiled to javascript, which means it's portable and looks the same on every platform, but you can actually write your program in a less brain-damaged language like Rust or Python (or C or whatever you like).