Hacker News new | past | comments | ask | show | jobs | submit login

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).




The Broadway backend for GTK roughly does that. Qt5 apps can also be compiled to wasm now.

https://developer.gnome.org/gtk3/stable/gtk-broadway.html

https://wiki.qt.io/Qt_for_WebAssembly




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: