Is a JavaScript VM really that different to intepreted JSON files? With react-native, the UI controls are using the platform native toolkits, there's just an abstraction layer on top.
Definitely, because first JSON was just a possible format, secondly, whatever format is used, it is serialisation format for a native language, using the native APIs of the platform.
There is no interpretation going on.
The abstraction layer for react native has JavaScript engine in the middle, plus a marshaling layer to go through OS APIs, and on Android is double slow, because NDK only has game related APIs, anything else requires a second marshaling call to go through JNI.
There is no interpretation going on.
The abstraction layer for react native has JavaScript engine in the middle, plus a marshaling layer to go through OS APIs, and on Android is double slow, because NDK only has game related APIs, anything else requires a second marshaling call to go through JNI.