3 ms·
Who is „everyone else“? GTK‘s primary API is C, Apple‘s is Objective C or Swift, none of them are „C++ plus managed language“, only SwiftUI is „layout DSL“ and
by Longhanks 7y ago
Who is „everyone else“? GTK‘s primary API is C, Apple‘s is Objective C or Swift, none of them are „C++ plus managed language“, only SwiftUI is „layout DSL“ and it isn’t even released yet.
So for targeting X11/Wayland or Windows, you can bet 100% on C++, only Apple platforms do not offer native C++.
- pjmlp 7y agoMetal is written in C++. Try to display graphics in Objective C or Swift without Metal, going further. Which UNIX OS SDK uses a C++ GUI full stack? One could argue for Kubuntu or SuSE, maybe, except KDE isn't tied to a specific OS and then again it uses Qt alongside QML since Plasma, so no pure C++ stack here. And since you missed to fully read my comment, here it is again: > Microsoft is the only consumer OS vendor that still supports C++ for doing full stack GUI apps
- ahartmetz 7y agoThe KDE desktop shell is QML + C++. The vast majority of KDE applications are QWidgets + C++ without QML. I like QML but it's not that great for many / most desktop applications. It works better for creating fully custom touch UIs from scratch. The plan for Qt 6 mentions a styling API which is one of the most important missing pieces, and discussion in the comments maybe indicates more ready to use controls.