44 comments

[ 2.3 ms ] story [ 85.5 ms ] thread
This is just amazing. THis is what i needed. It clearly shows how FLash uses less CPU and runs smoother than HTML5. Maybe HTML5 will perform like Flash today in two or three years, but till then Flash will also improve.
It's hard to tell since there isn't always 100% parity between the two examples (look at the difference between the Javascript Asteroids and the line-based Flash one!), but performance seems to be about equal in most cases, adjusting for the one that looks simpler usually using a bit less.
I would love to see a comparison of apples to apples, where someone duplicates the same functionality & features using both technologies.
Did you see the "Yummy Raspberries" demo on this site? It's a pretty exact... well, raspberries to raspberries comparison. Unless one or the other was poorly implemented it's the same demo on both sides, again with Flash outperforming.
HTML5 is not up to Flash at this time. There's no decent IDE, it's sluggish and it's not even a standard yet. I don't doubt its capabilities, but for NOW it's not doing enough to deserve the hype.

So, please, stop making this silly comparisons, especially because you are comparing different PRODUCTS, not only different platforms as you advertise. You are just hurting the image of the platform.

I'll be glad to use HTML5 in all my works when it's finished, but for now my answer is "hell no."

If HTML5/Canvas is slugish Flash is a corpse.
(comment deleted)
Sigh. How did a markup language get pit against a vector-based animation plugin? I know that literally it is not, and that we're talking about canvas here, but the Web is being flooded by this misinformation. I can't even think of analogy for what this is akin to.

Edit: I just thought about this, but SVG qualifies as a markup language. So it's not inconceivable for a markup language to compete (at least in part) with Flash, just in this particular case it is erroneous.

Flash is hardly a vector-based animation plugin, although animation and video do comprise 99% of its usage. Likewise, HTML5 is not just canvas; it's <video>, <audio>, websocket, local storage, etc.
I think you've made a good point there. Coupled with JavaScript, perhaps HTML5 as a whole can in fact present itself as competition for all that Flash does.
This seems like it's designed for fun, not a serious comparison. That being said, this is what I expect from a tumblr blog: fun!
(comment deleted)
(comment deleted)
One difference I suppose is that in order to create these kinds of Flash applications is that you have to purchase an IDE for the tune of (here in Australia) about $1200 AUD.

Now, that's not too big a deal given computers cost more than that usually but Flash is a very unstable and barely useable IDE. I liken it to spending over a thousand dollars to get slapped in the face.

Disclaimer: I worked with Flash, a lot, for over 3 years. Haven't worked with it in over 4 years, never been happier!

Ever tried FlashDevelop?
FlashDevelop is great, but it's just an editor.

It still relies on an external compiler to do the dirty job.

Although there are free tools to compile ActionScript code into swf files, if you have a .fla anywhere in your development cycle you are stuck with Adobe Flash.

Wrong.

There are several free (and open source) tools for creating flash content.

Not for .fla files, which I think was what the GP was referring to. FLA is a closed, proprietary format and as far as I know the only way to create or edit it is using Adobe Flash.

And I have to admit it is quite unstable.

Still, if you're a business making money developing in flash. 1200$ is nothing. Some middlewares are 10x or 100x more. But for an hobbyist, I agree.
The winner was obvious, viewing that on my iPad.
The first two were awful. Bland frame-rate, horrible aliasing on the textures, VERY wonky controls.

Sorry, no one would be impressed by this just because it's running inside a web browser.

I'm using Chrome on Mac OS X, Flash 10.1(built-in into Chrome)

Unity 3d seems much better than Flash 3d. :)
Yes, and I would like to see HTML5 version of that Asteroids demo that would work in IE. I mean a nice demo, but not working in half of the browsers out there.
Why is it always HTML5 vs flash? What about using both flash and HTML5? There is fabridge.js, after all. Its not all or nothing. Granted dependency on plugins sucks, but for now I see Flash as a supplement to a web application where I need things like audio, sockets and advanced graphics to work across browsers.
The comparison is missing :) html5zombo.com and zombo.com
While HTML5 can do the same things as Flash, now let's compare the file size. I present you the 64k Flash demo

http://www.pouet.net/prod.php?which=53656

64k is not enough for the html markup alone. Regardless of audio, graphics recourses, SFX, and animation.

What this page missing, is compare of insecurity, portability and speed issues. =)

btw, no one think it is enough of flame? After Apple's explanation, after all those security holes, inability to deliver a working product to platform other than win32, inability to address performance issues on linux32 and do on.

Isn't it obvious, that flash is poorly designed, non-portable, insecure and outdated technology, the unnecessary artificial layer which should be replaced due to evolution of modern web browsers and open standards?

Why I need separate javascript engine when it implemented in browser along with separate, unoptimized and buggy rendering engine as a some binary blob which crashes all the time? Because of crappy banners or stupid primitive games? Hardly.

So, flash will stay around as an optional add-on for windows browsers, but obviously not as something 'standard', leave alone 'cross platform'.

Argh... all this makes my head hurt.

Nowadays it seems silly to have to have 3rd party plugins for simple audio/video. HTML5 is good for that.

Then we have a markup language for rendering content for screen/print/whatever, a fluffy interpreted script language and a 90s-throwback framebuffer emulation trying to pass itself off as the be-all and end-all of cross-platform application development. Then it gets itself into a war with a single-vendor browser plugin known for its lack of speed and gaping security holes.

I choose neither. EndOfRant.

Guys. This isn't funny anymore.

HTML5 is a set of markup standards that, in conjunction with other open technologies, can be used to create dynamic, standards-compliant web interfaces.

Flash is a virtual machine. It is good for a lot of things you would use a VM for. It is not good for a lot of things you wouldn't use a VM for.

Some hardware manufacturers don't want virtual machines in their vertically-integrated ecosystems, and somehow this turned into a holy war between things that have no reason to be at war.

Many people hated flash years before the iPhone came out. Our reasons still hold.
And many of those reasons are going to be equally applicable to HTML5. I don't know if people have considered what all these new browser toys mean.

* Ever more obnoxious ads

* Longer load times

* System lag

* Instability, security (complexity == bugs)

* Persistent supercookies

To me, the only reason to hate Flash is that Adobe has continued to market it as a platform for things it's just not appropriate for.

A VM is not appropriate for banner ads.

A VM is not appropriate for a restaurant menu.

A VM is appropriate for a complex RIA such as http://www.audiotool.com .

I think there would be a lot less hate for Flash if Macromedia and later Adobe had stuck to promoting it as an RIA environment and not as a solution to everything else.

I think Adobe is starting to get it with Flex. Flex is really nice to develop BI widgets and dashboards. We use it to present interactive data to our clients. I can whip up a dashboard binded to a DB in a matters of hours.

I'm not sure that's possible with html5 or javafx. I'm not talking about the end result but the time frame.

But yeah, flash for banner ads, simple video players, etc. sucks.

You’ll need to download Safari to view this demo.

Ahahahaha.

Yeah, almost as bad as "You need to install Flash Player 10 to view this".
When YouTube tells me to install Flash, it isn't on a page with the words "HTML5 and web standards" as the header.