Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure, there's "native" UI with stuff like slint(QT-like) or iced(system76 is actually building the COSMIC linux desktop environment with this).

And you can also get an electron-like stack going, that is actually much less bloated than "normal" electron, by using tauri-webview, which uses the OS-provided webview and combining it with one of the many cool rust WASM-based reactive web-ui frameworks, like leptos or dioxus. This gets you compiled sizes of ~10s of MB compared to electrons 100s of MBs.

There's also bindings to a lot of traditional ui libs, like GTK, QT & Tk.

I'm currently going for the 2nd option (with leptos for the web part) as I'm used to the web-stack and am very productive with this approach, but native UI also seems very tempting to dig into further.

Some related links:

- https://www.arewewebyet.org/topics/frameworks/

- https://areweguiyet.com/#ecosystem



I can personally vouch for Slint. The DSL is very pleasant to work with, it's still evolving (and the devs are very active and responsive), tooling is also getting better and better each release and it supports translations and accessibility already (through AccessKit). I've been (veeeery) slowly working on a Matrix client with it and I've quite enjoyed it so far.


I'm also developing a chat client (tho for LLMs) using QML. Here's a little video showcasing it: https://custom-downloads.s3.us-west-2.amazonaws.com/chat_cli...

Still, very much in its infancy.

The backend is currently C++ but I'm considering using other languages since there are so many bindings (Mojo is on my radar).


Looking really good so far, keep it up! Is the source available somewhere I could take a peek? o.o


Thanks! Unfortunately not, it's been too hard for me to monetize FOSS projects, so it's going to be closed source.


Very understandable, it is indeed quite hard :(

Best of luck! I'll keep an eye on it ;)


Thank you! I'll keep en eye on Eigen too! I'm curious how it will work out with Slint.


Hey that is really cool thank you. I have Sublime as my IDE, and it looks like I can use that as well, and using a webview might leverage my understanding of webtech.




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

Search: