Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by jart on Friday March 05, 2021 @04:35PM
(#26362421)
28kb? You're only seeing the tip of the iceberg. I just built Qt Hello World myself. It's about sixty megabytes in size.
That's bigger than I expected to be honest.
[ Parent
| on HN ]
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by jcelerier on Saturday March 06, 2021 @03:07AM
(#26365955)
Aren't you also listing all the non Qt libs here ? X11, libinput, pulse audio, dbus, gstreamer, OpenSSL... e.g. here on linux for a static build of Qt (which links against both X11 and wayland platform plug-ins, and uses an embedded libpng, harfbuzz, freetype, etc...) a QWidget hello world comes out at 14 megabytes.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by makapuf on Saturday March 06, 2021 @04:30AM
(#26366276)
Id say its fair game if building hello world links those gstreamer and openssl.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by jcelerier on Saturday March 06, 2021 @04:34AM
(#26366287)
> Id say its fair game if building hello world links those gstreamer and openssl.
why ? it entirely depends on how your linux distro chose to build Qt, not on Qt itself.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by EvilEy3 on Saturday March 06, 2021 @07:33AM
(#26366965)
Because application can't run without those libraries. It's like comparing Java application without taking JVM into account.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by jcelerier on Saturday March 06, 2021 @08:06AM
(#26367078)
> It's like comparing Java application without taking JVM into account.
no, it's not. The "equivalent" of the JVM would be the libQt5{Core,Gui,Widgets...}.so ; but here we are talking about the operating-system-provided libraries, so it is like comparing with a Java application, with the JVM, and also for instance all the MS Windows system libraries, or all the macOS frameworks like CoreFoundation, etc etc.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati...
by makapuf on Saturday March 06, 2021 @03:18PM
(#26370207)
OK, so in this context the app is X MB. If all distros link those libs with libre cote and ui, for all intents and purposes, it takes X MB. If some dont, then lets discuss it (but if you can link to gstreamer and openssl to build a hello world, the issue is not entirely on the distro shoulders)