News for hackers. Stuff that matters.
Re:25 Years of Dillo by SMP-UX on Sunday December 15, 2024 @11:46PM (#42428076)
Unfortunately, with it's use of Swift code, QT (which is now a bloated piece of trash since version 5) etc. It's just not tenable unless they give us a pure version without that shit
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.

Re:25 Years of Dillo by fmbb on Monday December 16, 2024 @01:27AM (#42428468)
QT I can see how it is disturbing.

Swift I can not see how it would bloat anything for end users. It’s just another compiled language.

Re:25 Years of Dillo by comex on Monday December 16, 2024 @02:10AM (#42428708)
It’s a compiled language, but in terms of runtime performance, memory usage, and binary size, it’s closer to C#/Java/Go than C/C++/Rust. Yet its compile times are among the worst of any of those.
Re:25 Years of Dillo by oblio on Monday December 16, 2024 @07:14AM (#42430332)
> QT I can see how it is disturbing.

Compared to WinUI, Android, iOS, GTk3+, let alone Electron, is there even a reason to hate/fear Qt past-2010 or so?

Re:25 Years of Dillo by SMP-UX on Monday December 16, 2024 @02:15PM (#42434278)
Motif is still a thing!!!
Re:25 Years of Dillo by oblio on Tuesday December 17, 2024 @04:05AM (#42439678)
We're proud of you! xoxoxo

:-p

Re:25 Years of Dillo by SMP-UX on Monday December 16, 2024 @12:02PM (#42432905)
Swift requires LLVM and has shit performance. I'm generally a fan of only C/C++ and Pascal/Modula stuff. All these new found languages like Rust and swift are pure trash.