News for hackers. Stuff that matters.
Re:Advice for the next 100 Rust GUIs by ogoffart on Sunday November 22, 2026 @06:32AM (#50598660)
I was curious, so I asked Claude to make a benchmark with this prompt: "I'd like you to make an hello world in Slint (skia GPU and software renderer), EGUI, electron, QML, QWidget, and measure the RAM usage."

Results on Linux, PSS 400×200 window:

    Slint, software renderer: 13.5 MiB
    Qt 6.12 Widgets: 33.6 MiB
    Qt 6.12 QML, software scenegraph: 48.1 MiB
    Slint, Skia Vulkan: 75.7 MiB
    egui (wgpu, Vulkan): 98.3 MiB
    Qt 6.12 QML (OpenGL, default): 125.0 MiB
    Electron 45: 260 MiB
(The GPU rows ran on Mesa's software drivers) I think QML intrinsically takes more memory: it has a JS engine, and every item is a dynamic object. In Slint, almost everything is resolved at compile time and compiled.

So I wouldn't call Slint resource hungry

Re:Advice for the next 100 Rust GUIs by codedokode on Sunday November 22, 2026 @10:09AM (#50600392)
If you have swap, you need to add swap usage, and ideally kernel-allocated memory for process and memory allocated in other services (like wayland compositor) on behalf of process.