News for hackers. Stuff that matters.
Re:25 Years of Dillo by zbentley on Monday December 16, 2024 @12:37AM (#42428242)
Why/how does the presence of Swift make QT a bloated piece of trash?

Genuine question. I know little of QT and nothing of its history re: Swift or version 5.

Re:25 Years of Dillo by SMP-UX on Monday December 16, 2024 @12:01PM (#42432887)
Swift means it'll require LLVM.

QT is bloated and resource intensive. Most of us don't want gigabytes of data being spent on special effects.

Re:25 Years of Dillo by rubymamis on Monday December 16, 2024 @12:09PM (#42432964)
What is your definition of bloated? My note-taking app (with animations) binary is around 89MB[1][2]. And this is without statically linking it, using `-optimize-size` and `-ltcg` flags and running `strip` and `UXP` on it which should make it even smaller.

[1] https://rubymamistvalove.com/block-editor#8-performance

[2] https://get-notes.com/

Re:25 Years of Dillo by int_19h on Monday December 16, 2024 @02:08PM (#42434193)
I'm not OP, but 90Mb for a note taking app is incredibly bloated.
Re:25 Years of Dillo by rubymamis on Monday December 16, 2024 @03:28PM (#42435053)
Well, it's not a simple note-taking app, it has a Block Editor like Notion, tho it's written in QML and C++ so it's very performant. Compare that to most Electron apps these days, and it has a way smaller binary size, way more performant, and uses much less RAM. I do aspire to trim its binary size down further, I just didn't put my attention on it yet.

It's always about choosing the best compromise, I just think Qt is a very good one . It allows you to target many platforms with a declarative UI (QML) and a compiled language (C++ or other bindings). It's a superb form of abstraction layer compared to web apps.

Re:25 Years of Dillo by int_19h on Monday December 16, 2024 @03:36PM (#42435136)
I'll grant you that in a world where a chat app like Discord is >400 Mb, this is on the smaller side, but that just goes to show how low our standards have become.

But then consider for a moment that the entirety of Windows 95 is ~100 Mb installed.

Re:25 Years of Dillo by rubymamis on Monday December 16, 2024 @03:48PM (#42435258)
> but that just goes to show how low our standards have become

I totally agree. We need to do better. But I still stand with Qt being a good option. There are ways to lower Qt apps binary sizes down to 11MB[1] or 8.3MB[2].

[1] https://www.qt.io/blog/reducing-binary-size-of-qt-applicatio...

[2] https://www.kdab.com/qt-quick-without-a-gpu-i-mx6-ull/

Re:25 Years of Dillo by int_19h on Monday December 16, 2024 @09:50PM (#42437867)
Qt hails from the era when software was routinely measured in megabytes, so it's designed with that in mind. I suspect that it's QML specifically that contributes the most bloat in this case.
Re:25 Years of Dillo by SMP-UX on Monday December 16, 2024 @02:20PM (#42434333)
Exactly. People think it's okay to waste memory just because.
Re:25 Years of Dillo by SMP-UX on Monday December 16, 2024 @02:16PM (#42434283)
Nedit takes like 6M on a Linux machine.

Older and lighter toolkits like fltk are better.