Hacker News new | past | comments | ask | show | jobs | submit login

What I don't understand is all the people praising HTML5 because it uses less CPU than Flash yet Chrome ends up using 15-20% CPU just to render a simple animation unlike Flash.



I believe this example is a SWF running in Canvas (as opposed to vanilla HTML5).

Regardless, with HTML5 you have all the benefits of an OSS rendering engine where performance can be improved by individual implementors (eg, Apple improving WebKit on A4/ARM) or groups of developers with similar interests (eg, Google/Apple/other contributors to WebKit for x86). Where as with Adobe's Flash plugin, you're pretty much reduced to hoping or praying that Adobe will fix problems relevant to your interests.

In other words, the performance may suck now in some demos, but the situation is better than relying on Adobe... for some companies anyway.


> with HTML5 you have all the benefits of an OSS rendering engine where performance can be improved by individual implementors

this, my friend, is why HTML5 is never a competitor to Flash.

Write once, debug everywhere, hell I'll just stick with Flash.


He's not your friend, guy. That phrase needs to go away.


Some people probably just assume that switching to HTML5 content always uses fewer CPU resources. There are plenty of informed reasons to prefer HTML content over Flash though. One is that putting performance into the hands of multiple companies will introduce competition. Just like with Javascript speeds, you can expect browser-makers to start racing in other areas of HTML5 performance.

I wouldn't be surprised to see HTML5 outperform equivalent Flash content in a year or so.


Anyone could equally write their own version of Flash; the standard is freely available.


The amount of work required to do so is epic, and considering the rate of Flash's evolution it's like getting on a treadmill whose speed is controlled by Adobe.


Funny metaphor, and very accurate. However, HTML5 is like that same treadmill, only that people still have to build the treadmill itself. It's epic work times two.


HTML5 is mostly based on existing de facto standards. If you stick to those, you're good with HTML5.


That standard is for Flash as it existed several years ago AFAIK. It's not useful for creating a viable competitor to modern Flash except maybe as a jumping-off point to the actual hard work.


> One is that putting performance into the hands of multiple companies will introduce competition. Just like with Javascript speeds

the Actionscript VM is open source. I remember there is an LLVM implementation days ago.


And would that ever get into a mainline Flash Player release?


I’m annoyed by Flash beachballing or crashing, not the use of resources.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: