←back to thread

16 points tones411 | 1 comments | | HN request time: 0.199s | source

Electron gets hate due to filesize and memory bloat. C++ gets hate for memory leaks. Rust with Tauri relies on a webview which could change versions underneath the app when the OS gets an update.

Which language and cross platform desktop GUI framework checks the boxes for being lightweight in terms of filesize and memory usage, has native controls, supports accessibility and uses retained mode rendering, and works the same ten years from now as the day it was installed?

If someone were to build an installable desktop app with buttons, checkboxes, inputs etc. (so not a video game) which language and GUI framework should they to use to please the memory and filesize conscious?

1. mkayokay ◴[] No.45603949[source]
So far, I have tried Qt directly with C++ and python bindings (pySide6, pyQt), where C++ is definitely the lighter option.

If you consider python bindings, you could also look into JavaFX. It has the advantage of native images or the option of a fat jar containing all platform dependant FX modules. But the resulting files won't be small.