4 ms·
I have built lots and lots of stuff on mobile web. Never once was JavaScript perf the bottleneck on iOS. Never (especially since the rise of retina screens). I
by peterhunt 12y ago
I have built lots and lots of stuff on mobile web. Never once was JavaScript perf the bottleneck on iOS. Never (especially since the rise of retina screens).
I think there is a lot of hyperbole around the whole JIT in webview thing from people who don't have a good grasp of where the performance problems are on mobile web.
- iratedev 12y agoIt is a known "issue" [0] that iOS gimps JavaScript in webview for security purposes. Specifically, the Nitro engine is disabled. [0]http://blog.mobtest.com/2012/05/heres-why-the-facebook-ios-app-is-so-bad-uiwebviews-and-no-nitro/ http://blog.mobtest.com/2012/05/heres-why-the-facebook-ios-a...
- etrinh 12y agoThis. To my knowledge, JS perf isn't an issue in any modern browser (even the crippled iOS webview). Improving the performance of DOM access and manipulation (not just on iOS) would be a much more fruitful enterprise and is something I would like to see all browser makers focusing on.
- malandrew 12y agoA million times this. XML at the end of the day is a language with only two types, strings and children. This is woefully inadequate if you want performance. Take a 3D matrix transform for example. It needs to be marshalled from an array of floats to a string to be applied. Then it needs to be parsed back into an array of floats to be used to position a texture in the GPU. Such a huge waste...