4 ms·
What has a C/C++/Obj-C/Swift or any other programming language to do with performance? All programs have to be converted to CPU instructions somehow, and if you
by IvanK_net 8y ago
What has a C/C++/Obj-C/Swift or any other programming language to do with performance? All programs have to be converted to CPU instructions somehow, and if you think that C++ code converts into "better CPU instructions", than a Javascript version of the same program, you are quite wrong.
In your "native iOS app", you call the OS interface to add UI elements and accept events. What makes you think, that it requires less performance / battery / RAM, than doing the same through a browser?
Let's say that the browser environment adds extra 30 MB to every program. But the rest of the memory is fully in your control. When you see GMail using 300 MB of RAM, its the fault in GMail, not in the browser.