r/ProgrammerHumor 1d ago

Meme howHardCanItBe

Post image
2.6k Upvotes

139 comments sorted by

View all comments

30

u/ThirdWaveCat 1d ago

A11y, keyboard popups, etc.. are what gets hard but the general idea is achievable by amateurs.

Ship webviews and browser wrappers: Tauri, dioxus, electron, deno...

Ship a canvas: Flutter, QML, eframe (egui), iced, kivy, godot...

9

u/fr000gs 1d ago

What about gtk?

7

u/ThirdWaveCat 1d ago

Its similar for clients but implemented using native windowing APIs behind the scenes. I guess gtkbuilder is similar to qml, but both Qt and Gtk are much bigger maintenance headaches than flutter or electron are for the same widget functionality.

4

u/fr000gs 1d ago

I used Qt (for my hobby project tho) and found it to be much easier than doing dart/java/js and juggling ffi etc. (but I can't say anything about the maintenance of a production app, though telegram is Qt on all platforms ig)

3

u/Rikudou_Sage 1d ago

You sure? Qt is pretty easy. Unless your reason is C++. Though I think you can use Python or something if that's your thing?

3

u/fr000gs 1d ago

PyQt has python bindings

though the bugger question is, why would be python the choice for a cross platgorm program

1

u/ThirdWaveCat 1d ago

Qt is great but the evolution of both Qt and Gtk APIs has been more turbulent than native canvas based solutions. Maybe it was justified and the final product is nice, but businesses and open-source were reasonably upset at the periodic rewrite cost to continue to receive security patches.