this post was submitted on 07 Nov 2023
374 points (95.6% liked)
Linux
48429 readers
977 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm not the most knowledgeable on this subject, but I'm curious to learn more.
Why do various toolkits have major releases that seem to reset the features of the last one?
GTK 3 seems like GTK 2 but slower to me, and before the transition was even complete GTK 4 showed up, which just seems like GTK 3 but a bit different. Qt 5 works really well and is efficient on resources, so why are we switching to Qt 6? It seems like reinventing the desktop over and over again.
I understand updates for the kernel for compatibility, small to medium updates to all software for bug fixes and new features, and major updates to toolkits when there are big problems with the current release (X vs Wayland for example). Or if the current release was unreliable and bloated, which I heard was what happened with Qt 4 and why they switched to 5. But I also heard Qt 3 was really stable and lightweight, so why did they switch away from it?
Usually there's big new features that accomodate more modern hardware better. As an example, Qt6 revamps support for Wayland, HDR, and scaling. Even these things on their own don't seem like much, but if you go back to KDE 5 in 10 years time you'll definitely feel like something is plain/dated (or completely not working if you're on new hardware)
Thank you for the explanation! What specifically does Qt 6 do that Qt 5 can't do?
Gtk 3->4 made a lot of internal changes, and at least some were related to making wayland work. Wayland "worked" in gtk3, however it was very much an afterthought, and half the toolkit was useless under wayland. Other changes are usually required for changes related to rendering, gtk4 had vulcan rendering which may require some breaking changes. Another thing is just general breaking changes that are good, sometimes you realise some decision was bad, and a new major release is just a way to make these.
From the end users perspective nothing much changes, it maybe looks a bit different, but not much besides that. But a vulcan renderer and being fully wayland compatible are major improvements that also improve the user experience, even if you don't notice directly.
Interesting. I'm guessing the changes were too big to just be added incrementally in updates to GTK 3?
Usually the problem isn't that the changes are big, but that the new way simply isn't compatible with the old way to do things, and you can't just make a change that will break existing applications in minor versions (well, there's nothing technically stopping you, and unintentional compatibility breaking bugs have definitely happened in the past, but people are gonna get real mad at you if you do that). Even if you break that change up into thousand tiny changes over many minor versions, the end result is that at some point, you break old apps.
The solution is to take note of all the things that are either badly designed or became obsolete and once in a while go "hey, let's make a new major version and fix all of this crap". With a new major version, you don't have to worry about old applications and are free to improve your library in any way you wish, and you also get the option to keep updating the old major version with some maintenance bugfixes so that the old apps keep working well enough.
The unfortunate consequence of this is that old working apps need compatibility updates.