Re:Advice for the next 100 Rust GUIs
by codedokode on Sunday November 22, 2026 @10:08AM
(#50600380)
Electron binary itself weighs about 200MB so your number doesn't look realistic and probably you used some tool that shows wrong numbers (like Windows Task Manager).
[ Parent
| on HN ]
Re:Advice for the next 100 Rust GUIs
by eddythompson80 on Sunday November 22, 2026 @10:49AM
(#50600740)
What does the binary size have to do with memory usage? an Electron binary bundles chromium engine which includes a lot of stuff that a counter app won't load into memory (e.g all the video, audio, camera, 3d, biometric, animation, etc)
It's the same method used to measure Qt or Slint above.
Re:Advice for the next 100 Rust GUIs
by codedokode on Sunday November 22, 2026 @11:03AM
(#50600862)
Maybe 80 MB is only private pages and excludes memory-mapped files. Then the memory usage is calculated wrong. I wish people were using proper metrics and not random number Task Manager shows.
Re:Advice for the next 100 Rust GUIs
by eddythompson80 on Sunday November 22, 2026 @11:24AM
(#50601034)
Sigh. You can use the same method for all 3 and compare them. I get the irrational hatred towards electron and other WebView based UI framework, but no matter how you measure it those are the basic numbers. Like it or not, WebView is fairly well optimized for basic use cases. It gets out of hand quickly because developers have no restraint when it comes to dependencies and features to include in their app.
Electron clearly take more RAM. It uses many processes that each uses a lot of ram. Several hundreds M at least.
I don't know how you can get a number less than 100, even for a minimal app. Native toolkit are only using one process usually.