View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#5
Originally Posted by rash.m2k View Post
The documentation only teaches you some stuff, best practices come from developers.

Thank you for your response.

Also I'm a little confused as to how QML is run on the N9 - is QML compiled into native code and then run? And thus would there be a big difference in performance between c++ and QML?
QML is interpreted at runtime, so there will be an overhead. I'm not qualified to say how significant that overhead is, but I will say that the performance is more than acceptable on my N950 (and the N900 also). I think the biggest hit is in startup time. In any case, there isn't much choice in terms of the UI code. You can still write most of the program logic in C++ to get the best performance possible. I started out using a lot of JavaScript, but have steadily moved the backend code to C++ as I have become more confident with it.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following User Says Thank You to marxian For This Useful Post: