Showing posts with label The World Wide Web. Show all posts
Showing posts with label The World Wide Web. Show all posts

Wednesday, May 25, 2011

The 3 things wrong with HTML5


With virtually all HTML5 features that will wind up in the final RFC (due in 2014) having been proposed and coded, now the WHAT Working Group @ the W3C is moving to the review stage. So now that we know what’s in it, what are the 3 things that are most wrong with HTML5?

First, the browsers and the customers aren’t ready yet. Shown below are the browser market shares for the major browsers, according to Ars Technica (www.arstechnica.com).


More than 50% of the worldwide browser population is on IE versions 6 thru 8 as of the end of April 2011. On the www.html5test.com test site, these browsers show as achieving scores of no more than 32 on the HTML5 full feature implementation scale of 400. As opposed to these dinosaurs, the current browsers perform quite well:

So right now HTML5 sites are viewable by about half the worldwide population of browsers. Time and Microsoft updates will cure this problem in the next year.

The second thing wrong with HTML5 is the security hole. HTML5 was designed as an open standard. It was designed for use with many technologies, but primarily to interleave with CSS3 and JavaScript. If you were fairly cautious about JavaScript to begin with (see www.owasp.org/index.php/Category:OWASP_Top_Ten_Project ), you know that any good black-hat hacker worth his PC can execute the OWASP Top Ten attacks. One of the world’s foremost experts on this topic, noted two weeks ago that “90 of the F100 companies had JavaScript vulnerabilities right on their home pages”.

Now let’s toss some new HTML5 features into the mix, including: access to local data storage on our devices, web workers, new elements such as canvas, and security sandboxes, and the attackers will find 50 more ways to penetrate this new environment. But let’s appreciate that the security issue has a cycle, they attack we patch and correct, and it gets progressively harder with time to summon the skills to attack. And let’s appreciate that it took both time and security expertise to eventually get the Viagra out of our email Inboxes.

The third big thing wrong with HTML5 is the speed of the browser. How does HTML5 compete with an app? Until recently, the speed of device based apps was measured in milliseconds and browser based apps was measured in tenths of a second. That is changing - quickly. Speak to any CEO of a gaming company, and they have an HTML5 strategy. And the reason is that speed improvements on devices & in browsers that will bring hundreds of millions more users to become gaming-capable.

To watch this in real time, open all the browsers on your device, then on each browser go to the following 3 sites: http://v8.googlecode.com/svn/data/benchmarks/v6/run.html, http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html, and http://sunspider-mod.googlecode.com/svn/data/hosted/sunspider.html. You will be surprised by the 30 – 50% difference in speed of your various browsers running JavaScript.

The speed of JavaScript running on the iPad has gone through a 4X acceleration with the release of the iPad2. There are similar comparisons for its speed running on the different browsers. So between Moore’s Law at work on the devices themselves and the rapidly improving & competing code bases in the browser engines, time will also cure this problem.

So, what’s wrong with HTML5 - nothing that the passage of time won’t ameliorate.

Your browser may not support display of this image.

Saturday, May 21, 2011

Cloud Computing

This blog is dedicated to those seekers with a passion to actually read and learn about those technologies that will bring the future of the Web to fruition and radically alter our lives.

So let's start with 4 simple things that will radically alter our world by 2015:

> data centers that morph into cloud computing centers;

> access networks that add more mobility and speed;

> consumers and “prosumers” in the industrialized world who are going from an average 2 to 6 devices that access the Net daily; and

> applications that meet needs we haven't thought of and run on the device we have handy at the moment.


The news in cloud computing is not only that it is growing spectacularly (> 40% per year through 2015). The real story is that 85% of the total costs of running data centers are dropping annually as we add users to the cloud. This creates what the economists call “economies of scale”, where the company that grows the fastest gets the lowest costs and the greatest control over setting pricing. Economies of scale in the auto industry over the last century brought huge drops in prices for users, and better lives for us all.

The news on the access network front is similar: more & faster ways to get to the Net from wherever we are. Mobility is the key, as well as the ability to get to an appropriate screen for the app we want to use – no movies or books on my iPhone – no phone calls on my HDTV. As choice rises in our access networks, prices for access will drop.

The news on devices is similar. Today my HDTV, car, phone, tablet, laptop, desktop, and alarm system all give me easy access to the Net via a browser. Within the next year, more devices will join this parade. The arrival of screens with browsers and Net access augurs a wider connectedness than we have ever experienced. It also causes huge drops in prices for consumers.

The news on apps just adds to this fast forward lurch. Literally a half million apps run on either an iPhone or Android phone today. But most apps only run on one screen, are optimized for only one operating system, and are not really meant to be shared. This all changes as we move to better, standards-based browsers and the HTML5 suite (HTML5, CSS3, and Javascript). In the next year, the explosion of cross-device gaming running on Facebook and other exciting new applications, such as www.thewildernessdowntown.com and www.webglsamples.googlecode.com/hg/aquarium/aquarium.html , will dramatically raise the bar for most websites.

And, finally, the way forward… The 3-D Metaverse was captured elegantly in a 23 pager written collaboratively in 2006 (www.metaverseroadmap.org/overview/ ). The place we will begin to inhabit starting around 2015… read and learn and comment and criticize.