Hacker News new | ask | show | jobs
by etrinh 4420 days ago
This. 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.
1 comments

A 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...