WebKit for Developers
paulirish.com
paulirish.com
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.
https://www.webkit.org/blog/2259/last-week-in-webkit-threade...
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.
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)
*sad panda* @hzr The switch to WebKit unfortunately means
that Opera Dragonfly is no more.
https://twitter.com/runeh/status/301616059729969152And yes, it is/was an amazing tool. My favourite web inspector by a mile.
"Also, for what it’s worth, JavaScript is so rarely the
bottleneck on mobile that the lack of JITting compiler
has minimal impact."
But then I'm making HTML5 games so JavaScript performance is pretty much the only thing I care about.Some more really good tech talks @ https://www.airbnb.com/techtalks
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.
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.