3 ms·
React Native seems to be geared for mobile. Proton Native uses bindings with NodeJS (via libui-node, which uses libui), which seems to be (IMO) a much better ru
by zengid 8y ago
React Native seems to be geared for mobile. Proton Native uses bindings with NodeJS (via libui-node, which uses libui), which seems to be (IMO) a much better run-time for the JS part than JavaScriptCore because Node already can handle a huge amount of the OS interop. Also, JIT isn't restricted on desktop the way it is on iOS, so JSCore doesn't have a good reason to be used.
- BillinghamJ 8y agoJSC is very fast, and the RN runtime is intended to be a fairly limited API, so I wouldn't necessarily say the access to the Node core packages is hugely beneficial. But it's a fair point. I'm not sure why JIT is relevant. Neither JSC nor Node do any JITting.
- zengid 8y agoNode uses V8. V8 has JIT. http://thibaultlaurens.github.io/javascript/2013/04/29/how-the-v8-engine-works/ http://thibaultlaurens.github.io/javascript/2013/04/29/how-t...
- BillinghamJ 8y agoIn that sense, so does JSC - even on iOS. It just does so in a controlled fashion.