4 ms·
QML is akin to swift. Let's say, QML is to Qt as Swift is to Obj-C + native GUI libraries. The purpose and syntax of QML and Swift are similar, too. PS: Qt is
by kh_hk 11y ago
QML is akin to swift. Let's say, QML is to Qt as Swift is to Obj-C + native GUI libraries.
The purpose and syntax of QML and Swift are similar, too.
PS: Qt is not only a GUI framework. It's a cross platform C++ framework.
- htns 11y agoQML is a declarative UI markup language with javascript scripting. Are there really any parallels to Swift? I haven't looked at it in any detail before.
- kh_hk 11y agoI hadn't looked much into Swift either, thought it was meant to be a declarative layer around Obj-C, my bad. I would say though that QML + javascript fills a similar purpose as Swift.
- rhodysurf 11y agoTrue that Qt is a full C++ framework (my bad on that, i should know i use it everyday), but swift is nothing like QML. QML is just a markup language that is interpreted by an engine written in C++, swift is a whole programming language that is compiled. It would be more fitting to compare C++ and swift than swift and Qt.
- kh_hk 11y agoYep, sorry about that. See https://news.ycombinator.com/item?id=9682654 https://news.ycombinator.com/item?id=9682654