frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Which cross platform desktop GUI to use instead of Electron?

16•tones411•5d ago
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?

Comments

ofalkaed•4d ago
Tk using the themed ttk widgets might meet your needs, not sure about accessibility though. Wxwidgets is also an option but can get weird with the native controls, not sure about accessibility there either.
cx0der•4d ago
Java. JavaFX has native binding to the underlying platform.
zenlot•4d ago
I always go for Qt for this(with C++ for bigger project and Python for lighter).

There's also Delphi, which ticks all the nice boxes for UI requirements. But licencing is tricky there, not everything is available in community edition and more difficult to find support / developers for the project. Having said that, it's still great.

Kotlin with compose multiplatform shaping up too, so something to test out if it matches your current requirements.

dotancohen•4d ago
I came to mention this. I'm doing a Python/Qt project right now and I love it.
0xCE0•4d ago
The most obvious answer would be to use the OS's native UI widgets, e.g. in Windows maybe even Win32 widgets. With under 200 lines (!) of C/C++ code you get windows, buttons, text fields, lists, tables, whatever you need. The end result is an executable of size less than 8 kilobytes, and has been working last 20-30 years in the past, and most probably will work decades in the future.

Besides, there isn't really "cross-platform GUI", because not every platform has same kind of widgets and behaviors.

kode95•4d ago
Honestly, I don't get the Electron hate. The majority of developers here on HN probably use VS Code as their editor, and that editor was made with Electron. For a lot of companies who don't have a desktop app as their main product, it simply isn't feasibly to have a dedicated Windows developer, a Mac developer, and a Linux developer, when you can do everything with one codebase.
brazukadev•4d ago
PWAs! Just use the browser. The safest, fastest option
RedCardRef•4d ago
Consider Compose Multiplatform and Kotlin Multiplatform

https://www.jetbrains.com/compose-multiplatform/

swah•4d ago
A few other options to consider:

- Lightweight local web server + web page combo

- Native layer for each platform + shared business logic parts

- Some game dev engine could also work - Unity, Godot..

peefy•4d ago
Qt? MAUI?
ogoffart•4d ago
I'm one of the developers of Slint[0], a framework the should be ticking all the boxes for stable, lightweight, and native-style UIs supporting accessibility

[0] https://slint.dev

dafelst•4d ago
I am very impressed with Slint, especially once you jump through the hoops to enable the skia rendering backend.
melwinalm2•4d ago
I am using wails in one of my personal project currently. It's basically a combination of any frontend stack with go. File size is pretty minimal.
mkayokay•2d ago
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.

Ask HN: How to stop an AWS bot sending 2B requests/month?

268•lgats•2d ago•172 comments

Ask HN: Estimation of copyright material used by LLM

3•megamix•5h ago•2 comments

Ask HN: How does one build large front end apps without a framework like React?

104•thepianodan•1d ago•177 comments

Ask HN: What would an ideal matchmaking platform look like today?

7•grandimam•10h ago•8 comments

Why is my chat speaking non-words like um and uh?

4•dataspun•15h ago•3 comments

Ask HN: DOS Based "Multitaskers"

3•alexshendi•15h ago•0 comments

Ask HN: Web app freezes, but not when Chrome is recording. How to debug?

5•febed•2d ago•2 comments

Ask HN: What are you working on? (October 2025)

344•david927•6d ago•1039 comments

Ask HN: Abandoned/dead projects you think died before their time and why?

358•ofalkaed•1w ago•886 comments

Ask HN: Codex is too slow. Is there any solution?

5•rule2025•1d ago•4 comments

Ask HN: How to properly show my skills for startup roles?

8•arabello•2d ago•14 comments

Ask HN: How do you do CI/CD in 2025?

11•labarilem•2d ago•7 comments

I wanted to work on a newsletter but I realized I was building a cage around it

6•yuwahhid•1d ago•7 comments

Ask HN: Best way to create a searchable knowledge base?

20•aljgz•2d ago•23 comments

Ask HN: Claude Code with Multiple Models?

6•iosifnicolae2•2d ago•2 comments

Ask HN: Is it worth it to build projects from scratch or should I just use AI?

5•numcap•1d ago•9 comments

Ask HN: Best way to use Analytics data (from Google Analytics)

2•jamesclar•1d ago•2 comments

Ask HN: What are some of your favorite documentaries?

16•itdude•5d ago•23 comments

Ask HN: Does anyone have scans of these missing PC Plus issues (1991–1993)?

4•billpg•3d ago•2 comments

Sexbots Are Coming to ChatGPT

15•nutanc•4d ago•22 comments

Ask HN: Blogs / Sites / Channels for agentic coding topics

9•d_sc•4d ago•1 comments

Ask HN: What's the best alternative to Dragon NaturallySpeaking?

29•Openai2•1w ago•10 comments

Ask HN: VLMS-Powered Search Engine on macOS?

4•allenleein•2d ago•0 comments

Ask HN: Locally enabled vibe coding environment?

8•p0w3n3d•5d ago•3 comments

Ask HN: Which cross platform desktop GUI to use instead of Electron?

16•tones411•5d ago•14 comments

You've reached the end!