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?