3 ms·
Qt's ES7 js engine has always been solid for me: https://doc.qt.io/qt-5/qjsengine.html https://doc.qt.io/qt-5/qjsengine.html ; it used to use V8 but they rewrot
by jcelerier 5y ago
Qt's ES7 js engine has always been solid for me: https://doc.qt.io/qt-5/qjsengine.html https://doc.qt.io/qt-5/qjsengine.html ; it used to use V8 but they rewrote it to be better optimized for Qt's needs AFAIK.
- eatonphil 5y agoQt switched so many times I had a hard time following. I didn't want to include every different branch when I did know they were using V8 for a while. I'll still probably leave them out of this post but totally fair to bring them up.
- jcelerier 5y agoThere were only two switches afaik. The current engine has been used since 2013 (https://www.qt.io/blog/2013/04/15/evolution-of-the-qml-engine-part-1 https://www.qt.io/blog/2013/04/15/evolution-of-the-qml-engin...), this is likely longer than some of the other engines mentioned on your page did exist
- eatonphil 5y agoOk sweet I see now. They used JavaScriptCore until 2011 or so, switched to V8 until 2013, and have been using their own implementation, q4, since then. The source code seems to be here: https://github.com/qt/qtdeclarative/tree/dev/src/qml/jsruntime https://github.com/qt/qtdeclarative/tree/dev/src/qml/jsrunti.... Thanks! Will add and be live shortly.