Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why? Swift is a language and Qt is GUI framework


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.


QML 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.


I 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.


True 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.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: