Using this information, can you target Chrome with the webkit- prefix and Safari with the apple- prefix? Specifying the apple- prefix after webkit- will ensure that Safari uses that one, right?
Nope. Recent WebKit Nightlies have threaded HTML parsing as well.
I also have never seen people using -khtml- and -apple- prefixes.
Also, the "also" in "also turned on" seems a little bit out of place considering the sibling comment to yours.
Still a neat article. I just find that point odd.
TL;DR: to build efficient applications in the browser, you do need to understand how the browser works. Just like understanding how an operating system works will help you design good applications for the OS (especially when it comes to performance).
Is it worth knowing for other purposes? Well, I think so. It is worth knowing just to know, if no other reason. And it is also worth knowing in the cases where you are building something highly specialized. However, when I see things like the template tag making it in to webkit, we are no longer treating it as a blackbox where we focus on inputs and outputs. Instead, a growing number are getting to muck around in the internals.
Is this bad? I honestly can not say. However, I do know that from my perspective web apps have not been getting more impressive. Nor do I feel I am missing something from them. Seems if folks want items that are as efficient as you are alluding to, you should be doing a native application.
*sad panda* @hzr The switch to WebKit unfortunately means
that Opera Dragonfly is no more.
And yes, it is/was an amazing tool. My favourite web inspector by a mile.
However, dragonfly is open source too. :-) So there's every chance someone will fork it and take it forward to keep it going on Opera (one hopes)
bottleneck on mobile that the lack of JITting compiler
has minimal impact."
In Safari and most of the time on Chromium Mac, the complex code path is handled by CoreText. In other Chromium ports and on Blackberry, complex text is handled by Harfbuzz-NG, which is also used by Firefox.
Some more really good tech talks @ https://www.airbnb.com/techtalks
Here's a trace of this page, for example: http://paulirish.com/i/dd8f40.png
A far more low-level view is available in about:tracing - More on that here http://www.html5rocks.com/en/tutorials/games/abouttracing/
Makes me uncomfortable.