3 ms·
But why do you think the anti-flash sentiment exists in the first place? When I bought my HTC Sense based phone, Flash was forced on me. I'd be generous to say
by philjackson 16y ago
But why do you think the anti-flash sentiment exists in the first place?
When I bought my HTC Sense based phone, Flash was forced on me. I'd be generous to say I can play half the flash based videos I meet on the web. When I do manage to play something my phone heats up to a few degrees cooler than the sun and my battery drains at a rate of knots.
My desktop is a 64-bit, quad-core monster running Linux. Can I play full screen Flash videos? No. Throw a HD video at mplayer and it's runs as smoothly as silk and creates hardly a bump on my processor graph.
Holy grail of cross platform development? You must be kidding.
- elblanco 16y agoI wasn't aware that he was demonstrating a video in an flv wrapper. He was demonstrating an interactive app running on 6 different platforms running on a very wide variety of form factors. I also can't play blue ray rips on my phone. Does that mean video isn't cross platform? Thank you for exactly demonstrating my point above. I really don't understand why everytime somebody brings up flash the response is "well video in flash sucks!" So what?
- philjackson 16y agoWell, I suppose my point is that Flash doesn't perform and so this video isn't in the slightest bit exciting. Asking why people always bring up Flash video in these debates is like a robber asking why the breaking and entering has to be mentioned in his court case.
- elblanco 16y ago> Well, I suppose my point is that Flash doesn't perform... I think my counter question is then "doesn't perform compared to what?" Compared to a natively compiled piece of software written in C or ASM? Yeah, it doesn't perform well at all. Compared to Java? I'd say modern Java runtimes are faster in general. Compared to Javascript? I'd like to see some benchmarks with modern runtimes like v8, but I'd wager that Flash (Actionscript) performs better. Here's a rather old comparison benchmark. http://oddhammer.com/actionscriptperformance/set4/ http://oddhammer.com/actionscriptperformance/set4/ According to this, ActionScript 3 and Flash Player 9 were approaching Java Applet speed in many of the tests. Here's a newer one http://jacksondunstan.com/articles/232 http://jacksondunstan.com/articles/232 In this test, Safari, FF 3.5.2 and AS3 all have about the same runtime. Every other browser tested run 2-9x slower. And another followup http://jacksondunstan.com/articles/534 http://jacksondunstan.com/articles/534 The results are about the same. Here's a very recent one (March 2010) with similar results. http://www.themaninblue.com/writing/perspective/2010/03/22/ http://www.themaninblue.com/writing/perspective/2010/03/22/ Flash performs about as well as the very best Javascript implementations out there, and far far better than most implementations of Javascript that live in the browsers that are actually being used in the world. I understand your point, Adobe has provided some rather abysmal ports of Flash to platforms other than Windows. But on the platforms it has been ported to (no matter how flawed) it runs about as well as the best available implementation of Javascript on that platform. As for video, Adobe, for some reason isn't offloading video decoding to your GPU. That could be problem of your platform, or a problem of Adobe. But just the same Javascript isn't rendering the video on your Linux box when you watch a video...you certainly wouldn't want that. Talk about bad performance! But we aren't talking about video when we talk about HTML5 and Flash. Video is a separate and distinct problem. Flash didn't even support video until quite late in it's life cycle, it's an "oh yeah let's toss this in too" feature. We're talking about making interactive applications in those respective environments. And we're talking about those applications being cross platforms, running on multiple systems, on multiple platforms, in multiple form factors. And for that, right now flash is the better platform, it performs about as well in raw computation as the very best Javascript engines, has a better development environment, is currently more cross platform than a similarly complex Javascript HTML 5 app, and is generally a more mature technology. I can't even get a complex HTML 5 app to run the same on 3 different browsers on the same machine! Imagine targeting every major browser that run under Windows, OSX, Linux, iPhones, the iPad and Android devices with HTML5 technologies! It's simply not there yet.