4 ms·
Is there any bridge between JS and native code? Yes, I know it is hard to support development and debugging of a hybrid of script and native code, but regardin
by chj 14y ago
Is there any bridge between JS and native code?
Yes, I know it is hard to support development and debugging of a hybrid of script and native code, but regarding battery life and computation intensive apps, JS is not an option. Unless this OS is for really low end phones.
- MatthewPhillips 14y agoWhat makes you think that? Android runs non-native apps and the battery life can be very good (depending mostly on hardware of course).
- ralfn 14y agoYou seem to assume an existential difference between "native" and "not-native" that does not actually exist. Is Objective C native? Not yet. Is the ARM executable native? Yes. Is javascript native? No. Is the executable code generated by the jit native? Yes.