News for hackers. Stuff that matters.
Re:Smokescreen - a Flash player written in Javascript and HT... by kierank on Tuesday June 01, 2010 @02:23PM (#1395729)
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.
Re:Smokescreen - a Flash player written in Javascript and HT... by tvon on Tuesday June 01, 2010 @02:40PM (#1395774)
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.

Re:Smokescreen - a Flash player written in Javascript and HT... by est on Tuesday June 01, 2010 @09:48PM (#1396750)
> 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.

Re:Smokescreen - a Flash player written in Javascript and HT... by devinj on Wednesday June 02, 2010 @12:26AM (#1397095)
He's not your friend, guy. That phrase needs to go away.
Re:Smokescreen - a Flash player written in Javascript and HT... by zweben on Tuesday June 01, 2010 @02:35PM (#1395762)
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.

Re:Smokescreen - a Flash player written in Javascript and HT... by kierank on Tuesday June 01, 2010 @03:25PM (#1395892)
Anyone could equally write their own version of Flash; the standard is freely available.
Re:Smokescreen - a Flash player written in Javascript and HT... by wmf on Tuesday June 01, 2010 @05:15PM (#1396180)
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.
Re:Smokescreen - a Flash player written in Javascript and HT... by not_an_alien on Tuesday June 01, 2010 @05:39PM (#1396229)
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.
Re:Smokescreen - a Flash player written in Javascript and HT... by chc on Tuesday June 01, 2010 @05:50PM (#1396263)
HTML5 is mostly based on existing de facto standards. If you stick to those, you're good with HTML5.
Re:Smokescreen - a Flash player written in Javascript and HT... by chc on Tuesday June 01, 2010 @05:04PM (#1396158)
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.
Re:Smokescreen - a Flash player written in Javascript and HT... by est on Tuesday June 01, 2010 @09:51PM (#1396755)
> 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.

Re:Smokescreen - a Flash player written in Javascript and HT... by CrazedGeek on Tuesday June 01, 2010 @10:10PM (#1396796)
And would that ever get into a mainline Flash Player release?
Re:Smokescreen - a Flash player written in Javascript and HT... by ugh on Tuesday June 01, 2010 @06:58PM (#1396405)
I’m annoyed by Flash beachballing or crashing, not the use of resources.