86 ms·
I used to call Qt ".Net for people who can't have anything better". When you code in Qt you rarely, if ever, are exposed to the hairy parts of C/C++. If anythi
by dmitriid 9y ago
I used to call Qt ".Net for people who can't have anything better".
When you code in Qt you rarely, if ever, are exposed to the hairy parts of C/C++. If anything, it feels like coding in C#. Nesides UI there are a gazillion helper and utility classes for everything from networking to threading to string handling. And with QML there's even less C++ :)
- majewsky 9y agoI actually just migrated a small Rust application to C++ with Qt because I have to use DBus and Qt has a very nice DBus library, which Rust has not. (In general, DBus hates runtime environments that don't have an event loop.)
- ahartmetz 9y agoIt's pretty hard to have asynchronous calls without an event loop ;) Using DBus synchronously is, strictly speaking, wrong unless you can PROVE that there can be no deadlocks; talking to the DBus daemon itself synchronously is generally safe though. Unfortunately QtDBus encourages synchronous calls. Maybe you remember desktop hangs in early KDE 4 related to global shortcuts - that was me not knowing that rule at the time.