Re:Qt binding for Go with support for all major operating sy...
by enqk on Friday November 11, 2016 @09:46AM
(#12931027)
It is not wise to even implement a lot of logic in the JS part of QML, as the JS interpreter there is quite a bit more primitive than something like V8. Your performance will suffer if you attempt to write anything too complicated in JS inside QML.
[ Parent
| on HN ]
Re:Qt binding for Go with support for all major operating sy...
by dkersten on Friday November 11, 2016 @12:35PM
(#12932617)
Oh I know, I've had some complex QML/JS in the past.
Even more so if you're running on iOS where the JS isn't jitted.
It's really easy to write QObjects that are accessible to QML and you can connect your signals/slots with the QML widget ones, so having the logic in C++ isn't hard. It's just not quite as convenient as putting it inline in QML, I guess.