Originally posted by dragon321
View Post
Announcement
Collapse
No announcement yet.
GTK 4.15 Released With Vulkan Renderer By Default
Collapse
X
-
I'd really like to move from qt to gtk, because I don't like the qt company, but imo the DX with gtk is significantly worse.
Gtk has better bindings to other languages, so it depends also on the language you use and the projects you're working on, but qt has much better tooling for the officially supported languages
- Likes 1
Comment
-
Originally posted by dragon321 View Post
In Vulkan it’s up to application to select which GPU will be used for rendering. Usually they simply choose first GPU that is able to handle what application needs but nothing stops them from adding more logic and pick another GPU. I don’t know how is this handled in GTK but nothing stops it from picking iGPU when iGPU and dGPU are both available or letting user choose by some environmental variable.
- Likes 1
Comment
-
Originally posted by Developer12 View Postbecause the dGPU typically supports vulkan and the iGPU typically doesn't. I've got a laptop with a terascale iGPU and a GCN dGPU where this is the case.Last edited by QwertyChouskie; 28 April 2024, 11:57 PM.
Comment
-
Originally posted by uid313 View Post
Not true.
I've used both GTK 3 and GTK 4, and I've used GTK both with Rust and Python. GTK is not useless for anything more complex than a mobile app. Also don't underestimate the complexity of a mobile app.
The API of GTK 4 is mostly the same as GTK 3 but with some refinements and improvements.
Overall I find GTK to be good even though there are some issues.- PyGObject does not generate type hints. (issue 159)
- GLib does not integrate with Python's asyncio event loop. (issue 189)
- Some things in Rust required a bit boilerplate code but it has been improved and keeps getting more ergonomical.
- It complex applications it can get a bit tricky to manage state as there is no global state context. You can bind widgets to properties though.
My smallest issues was the toolkit. My biggest? USB handling of MacOS. And the App Bundle for MacOS. The installer for Windows is also requires much work but it is easier than fiddling with the awkward restrictions from MacOS. These systems require much more work to ship a native package on Linux.
- Likes 1
Comment
-
Originally posted by Developer12 View Post
Tell that to a thinkpad enthusiast lol. Plenty of this hardware still in the wild, being used.
Comment
-
Originally posted by QwertyChouskie View Post
Maybe I should have specified that 12 year old systems with both an iGPU and a dGPU aren't the "typical" case. At least in my experience, most old laptops either have an iGPU or a dGPU, not both.
Only more recently has better power saving meant that a powerful GPU can also become an efficient one when (not) needed.
Comment
Comment