News for hackers. Stuff that matters.
Re:React Native for OS X by pjmlp on Wednesday March 30, 2016 @10:32AM (#11389510)
I got lost at the VM references.

XAML engine is native C++ code, no VM. Since Windows 8 there isn't also a VM as such on the .NET side, given the AOT compilation support.

Similarly QML is only interpreted in the free version. Commercial Qt compiles QML into native code.

Re:React Native for OS X by hartmel on Wednesday March 30, 2016 @10:38AM (#11389566)
Yes, the java comparison is not really good, I wanted to make a "runtime" analogy. I didn't know for compiled QML.
Re:React Native for OS X by pjmlp on Wednesday March 30, 2016 @02:29PM (#11391730)
You can read about the QML compiler here

http://doc.qt.io/QtQuickCompiler/

Re:React Native for OS X by cheez on Wednesday March 30, 2016 @09:57PM (#11394514)
I believe it's more correct to say that the creation of the QML object tree is compiled to C++. The rest of it is byte compiled JavaScript.
Re:React Native for OS X by pjmlp on Thursday March 31, 2016 @01:00AM (#11395086)
"Compiled Qt Quick is an elegant solution to these problems: .qml files as well as accompanying .js files can be translated into intermediate C++ source code. After compilation with a traditional compiler, the code is linked into the application binary. This entirely eliminates the need of deploying QML source code, it reduces the application startup time and allows for a much faster execution on platforms that do not permit Just-in-time compilation."

http://doc.qt.io/QtQuickCompiler/

Re:React Native for OS X by cheez on Thursday March 31, 2016 @08:44AM (#11396703)
So the JavaScript is compiled to C++? They implemented emscripten?