With AMP: http://www.theguardian.com/science/2015/oct/07/lindahl-modri...
Without AMP: http://www.theguardian.com/science/2015/oct/07/lindahl-modri...
With AMP: http://www.theguardian.com/science/2015/oct/07/lindahl-modri...
Without AMP: http://www.theguardian.com/science/2015/oct/07/lindahl-modri...
• AMP is a subset of HTML.
• Any normal HTML engine can, therefore, render any AMP file, without needing to know about the AMP spec.
• It's also possible to make an engine that specialises in rendering AMP (either exclusively, or by switching to a faster mode when it detects the file is just AMP).
• Even in normal HTML engines, AMP files will generally be fast because they avoid 'slow' parts of HTML.
The above points all hold true if you switch the terms to JavaScript and asm.js.
Where the analogy falls short:
• It's easy to write AMP by hand, but asm.js is really only meant to be generated by a compiler.
• Obviously, what is meant by 'fast' is very different in each case. In HTML:AMP, it's about things like reducing network usage, and avoiding layout thrashing by requiring up-front declarations of image dimensions, etc. In JS:asm.js, it's about making compiler optimisations possible so code can execute faster.
Note: AMP does create extra elements, like `<amp-img>`, but these are legit uses of the Custom Elements spec. You can see these elements rendering correctly in Chrome. [2]
[1] http://w3c.github.io/webcomponents/spec/custom/ [2] https://www.ampproject.org/how-it-works/
AMPHTML whitelists a handful of HTML tags, but adds a bunch of its own custom elements, like <amp-instagram>, <amp-img>, and <amp-ad> on top. It's neither a subset nor a superset of HTML in the common understanding of those terms.
That's not what I do, because it doesn't make sense. Text that takes up the entire width of the monitor is either in an unreadably long line, or in unpleasantly large text. There's only so much margin you can handle on either side of the text before it just looks silly. And I don't think multi-column is the way sites should or are going - it interacts poorly with scrolling.
Thus I don't use maximized browser windows on big monitors. I use tree-style tabs, which uses a bunch of horizontal browser space much more productively than big margins, and I cascade my browser window with other windows so I can easily switch windows using the lower left corner of each window. With it occupying the rightmost and tallest position in the cascade, it is further reduced in horizontal size.
tl;dr: Web browsing, being primarily a text medium, doesn't scale up to wider and wider monitors. So don't make the window so wide.
But to show what I'm talking about, here's how the page looks on my desktop in Chrome:
Again, that just seems like wasted real-estate.