HN 用户提问:除了 Electron,还有哪些跨平台桌面 GUI 框架可以选择?

3作者: tones4118 个月前
Electron 因为体积大和内存占用高而饱受诟病。C++ 因为内存泄漏问题而备受指责。使用 Tauri 的 Rust 依赖于 Webview,当操作系统更新时,Webview 的版本可能会在应用程序后台发生变化。 哪种语言和跨平台桌面 GUI 框架能够满足以下要求:体积和内存占用轻量级、拥有原生控件、支持无障碍访问、使用保留模式渲染,并且在安装十年后仍能像安装当天一样运行? 如果有人要构建一个包含按钮、复选框、输入框等的可安装桌面应用程序(非电子游戏),为了满足对内存和文件大小有要求的用户,他们应该使用哪种语言和 GUI 框架?
查看原文
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.<p>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?<p>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?