But suppose Adobe's programmers are not completely incompetent? Perhaps Flash's execution model is genuinely unable to be optimized further. Or perhaps most Flash content in the wild runs at the limits of desktop performance, and that compositing vector graphics and text on top of video while running multiple VMs embedded in a webpage is just too much for a memory- and CPU-constrained device.
In that case, open-sourcing Flash would have little effect. Even if we had an optimal mobile Flash player, we'd still need everyone to rewrite their Flash movies to run well on it. That's why HTML5 has the advantage here: HTML5 content is being freshly written and tested for mobile platforms.
The difference will be if HTML5 can replace 80% of Flash uses in a performant manner. The video tag makes up a huge block of that 80%. The other 20% will always run like a dog on mobile hardware, no matter the technology.
But I'm hoping you're referring to a real-time 3D execution. If, please share a link.
Then can you explain why setting font size to 200 on this HTML5 demo http://www.ponticstar.com/projects/burning-words/
then my browser is slowing down to unusable?
I've seen burning words demo in Flash 4 from 2000 and it's very smooth even on a PIII machine.
It has however one core maxed out.
Or So They Say only advanced frames in Firefox when I moved my mouse. It actually ran for me in Chrome, but was pixelated (2x?), and still laggy (I'm guessing <24fps)
While it's cooler than anything I've ever done with javascript, I was watching more impressive demos on a Pentium 75 over a decade ago.
HTML5/Javascript/etc. appear to have a long way to go, performance-wise, before they catch up to Flash. And by the time it catches up to Flash 10, where will Flash be?
In Safari 5.0.1 your link didn't render a single frame in three minutes.
Firefox 4b3 did render, but the animation would not normally be watchable. The opening scene ran the best, probably around 15fps while during second and third scenes the galaxies would jump about an inch with each frame. I don't know what the fps were, but it was updating the screen less than one time per second with a single core maxed out.
Also, on launch, FF was using 76MB of RAM yet after the three minute test it was using 168MB of RAM.
So your link didn't function in one browser, used 2.8GHz of processing power and ~90MB of RAM in another yet was completely unwatchable.
Was I supposed to be impressed?
What if this were a Flash demo? Only be mildy interesting -- and that's only for the presentation itself. From a technology perspective it'd be ho-hum.
I think more important than that is that it's not even interactive. Interactivity with HTML 5 apps has light years to go compared with Flash even if browser vendors can lick the performance problem.
In other words, HTML 5 as a content delivery platform has a very long way to go...and as it is is certainly not anywhere near as a cross platform as Flash is. It's just not a swap out substitution for Flash yet and forces developers to produce software that's just simply not of the same quality as Flash is able to handle.
ActionScript is just JS plus some extra sugar. JS implementations have gotten hundreds of times faster in the last three years, while Flash has gotten slower. Slap a modern JIT on there and we should get some improvement.
Unfortunately, much of that content is what causes the problem. Using the artist tools (Flash CS3), you can generate content that simply fumes memory, without writing a single line of code. I'm not sure you can even fix those issues without re-authoring the art content.
What makes this worse is that anyone can embed one of these crappy SWFs in a webpage, causing the browser to fume memory too.
Could you provide links to back up your statement that it has gotten slower? I've never heard that before.
Can you elaborate?
> while Flash has gotten slower. Slap a modern JIT on there and we should get some improvement.
Adobe actually contributed to Tracemonkey's JIT as one of their effort towards ECMAScript engine unification, they even planned to write a engine for WSH Active Script, but failed. IMHO Flash is laggy because of the drawing part, but in this case HTML5 is also laggy as hell. Try set font to 100 in this demo:
I don't know about that. Flash may be proprietary, poor coding community, etc, but to suggest it is creeping down to JS performance is pretty outlandish.
Flash has two communities. One: Designers trying to do timeline animation with a mix of code snippets they've found. Two: Decent coders who implement the safest, best methods.
When Flash performance is subject, it tends to be Flash's poor design that gets the bad rap even though it tends to be the poor developer community at fault. In the same way, JS-based interactive content can also be coded poorly and perform poorly as a result.
Honestly, I've seen some pretty intense, balls-to-the-wall sites that I know would absolutely work at a crawl or snail's pace in JS, but work elegantly in Flash.
A full open-source file format would be a great move for Adobe.
If Adobe has spent years growing the Flash player code on the principle “make it work well on Windows, and then hack it as necessary to make it work tolerably on other platforms”, then even after it is open-sourced, developing a Linux- or iOS-compatible Flash player may be more than just a Simple Matter Of Programming.
Remember the long gap between Netscape open-sourcing its browser and Mozilla becoming a usable platform.
If Adobe stays on the path it's on, HTML5 will continue to mature faster and faster as the desperation for a legit Flash replacement grows. Adobe could stay in the loop without having to reinvent the wheel and reacquire a distrusting and skeptical customer base if they would just open Flash while they're ahead; people would continue to buy the Flash IDE in droves, but when HTML5 takes over, that installed base is not likely to wait on Adobe and they'll move on to a competing IDE. I believe that HTML5 is still young enough that it could be basically deposed by a truly open Flash.
Not sure this is the best comparison. Netscape open sourced Communicator 4.0, yes, but what we know as Mozilla was a total rewrite after they decided to scrap 5.0.
EDIT:
Unless your point is that the Flash codebase may be similarly bloated. :)
Yeah, that was kind of what I had in mind.
Why would Apple spend a lot of money and man-hours to port Flash for the iOS? Is not like the lack of Flash seems to be bothering anyone much (in terms of units sold). And Google actually did help Adobe to port Flash to Android, and it seems (from this article) that the job is not that good.
Maybe Flash would need a massive internal change for it to reach the speed it deserves: sometimes it's better to simply start from scratch. Also it's still not obvious to me that Flash is the right technology for the mobile/touch-screen Web.
I think the point in this case is, "go FOSS and you've got a shot. Stick with the status quo and your death is assured".
I think the poster has a point. Maintaining a monopoly on the tools to create media in a certain format isn't going to amount to much if everyone ditches the format. Flash is already becoming a four-letter word. I don't see what Adobe can do on their own to change the direction Flash is headed.
Going open would give Flash a shot at survival.
Flash was supposed to be canvas, but Macromedia/Adobe chose not to join the standards process, so browser makers just rolled their own. After all the effort on canvas, they'll just drop it all and replace it with Flash or work on both?
It just seems impractical. I don't think Google is interested in Flash beyond integrating it with NativeClient. Maybe they could improve it, they may have more engineering talent, but these are ultimately strategic decisions, not technical ones.
As far as other companies besides Google, MS and Apple, why would they commit themselves to Flash when Canvas is already open source, can be improved, etc..?
I think Adobe is screwed with their current plugin either way. Their path of piling on features, ensuring perfect integration with authoring tools seems more reasonable. That's where their focus should be. They won't lose much if they lose the plugin, it's not a big deal if they could do the same things the plugin does through JS eventually.
The plugin is just an insurance policy and if NativeClient becomes a standard they won't have to worry about penetration when they come up with a better plugin eventually.
Based on what I've heard, the real reason anyone uses flash anymore is because of the authoring tools, not the runtime.
Instead of open-sourcing the flash player, build a development/authoring tool for HTML5 of equal or higher quality than the Adobe tools and open-source that...then watch this debate become irrelevant a year from now...
If their DRM is hacky/not good, then yes, open-sourcing would probably be bad for that component. But DRM is a rather small part of the overall Flash ecosystem, and if they don't get the Player completely open, they are going to lose meaningful revenue from Flash completely relatively soon.
open sourcing it now will help them stay relevant for longer but it will be a band aid, proprietary tools will be replaced by web standards on the internet thats more obvious now than it ever was. flash can innovate by raising the limit on what you can do, but there is a roof on that functionality the gap between it and where web standards are now is getting smaller and smaller.
Adobe bought Macromedia and suddenly Flash was great and amazing and they integrated it with the rest of the their portfolio.
The question I am trying to put is: back in the days of Macromedia, do you think they would have clanged on Flash on mobile like they life depended on it?
(this is not a rhetorical question, btw, I am really wondering: I didn't follow Adobe and Macromedia much in those days)
Back in those days flash vs html for plain websites was a serious debate, under adobe while video has got massively popular, flash has been further and further marginalised as a tool almost only for games, adverts and video.
I certainly couldnt see macromedia open sourcing flash any more than I could see adobe doing it without this pressure, if anything I think macromedia were even more aggressive with shutting down alternative players, at that time they were competing with html which broke in every browser, they wanted to make certain it was write once run everywhere.
To be honest I am entirely biased, but its always seemed obvious to me that open web standards will very very slowly replace virtually everything proprietary on the web. right now there is not one decent web publishing tool and I am pretty stunned that adobe havent stepped up to produce one yet (dreamweaver does not count, and neither does flash exporting canvas). Heres hoping whoever does makes sure it works on linux :)
There are millions of third party Flash authoring tools, both proprietary and free ones.
There's also a research paper about having a remote proxy to deal with Flash on mobile devices; it's something like a VNC viewer, but for Flash. That wouldn't violate any patents now, would it?
http://www.cs.washington.edu/homes/gribble/papers/sys169-mos...
"New features" is not a good answer; it might stave things off a bit longer, but the real problem in Flash is that Adobe is choking it to death and only really provides first-class support on Windows.
Only recently have they started taking even the Mac platform seriously, probably trying to prove to Apple that they should be included in the iOS devices. Support is still a complete mess on Linux (the basis of Android and countless other platforms and most new platforms, meaning that any day now a Linux-based platform could be the new hotness, supplanting the iPhone, and then we'll have to go through this whole song and dance again with Adobe pretending to take Linux seriously to try and trick people into letting Flash run on that platform with its 40% penetration), and their penguin.swf blog has nothing but excuses; sure, video on Linux may be less straightforward than video on Windows (because there is actual competition and you have to make a choice instead of taking whatever Microsoft decrees), but lots of people with far fewer resources have been able to deal with it, there's no reason Adobe can't.
That's the thing. Jobs says Flash has had its day because a few years ago Apple was the underdog that wasn't worth supporting. When Apple tried to work with Adobe, they were neglected and left to rot for "higher profile" projects. And now that Jobs and Apple have some real power, 10.1 magically gets filled with Mac-related fixes that should have been in at least half a decade earlier. And Jobs isn't buying it; in his mind, Adobe (correctly) is still the flippant and unresponsive bully who doesn't care about you until your market cap exceeds Microsoft's.
Nobody sane is going to hitch their star to Flash while Adobe lords over it. I understand, as do most of Adobe's recent customers, that Adobe is run by staunch old men who just don't get it, but someone really needs to help them get it, for the good of the web and the good of their company.
Open-sourcing would open so many doors. Apple could modify Flash until it worked on iOS properly, Google could modify until it worked on Android. The reason this hasn't happened so far is that Adobe is a bottleneck nobody wants to deal with; they just consider basically impossible to get Flash Player on mobile because Adobe doesn't have the structure or the talent to do it correctly, and there is no other option except to let Adobe do it. An open Flash would open many doors, awesome adaptations, deployments, and uses that we can't yet think up would come out of it, and all the while Adobe would keep selling its IDE (probably selling more, actually, because Flash will then do cool stuff that everyone wants).
I don't know why they don't do this. Flash Player is already basically free, all of the money from Flash comes from the IDE Adobe sells. Keep the IDE locked up if you want, Adobe, but every second you keep the Player locked up you are killing Flash that much more, and when nobody uses Flash nobody is going to buy your IDE.
I know there are free software Flash players out there, but it's not the same. It's like saying nobody needs cooperation from nvidia because of nouveau. While a noble effort with meaningful results, vendor support still gets you much, much farther ahead.
If Adobe knows what's good for them they will be opening the Flash Player as quickly as they possibly can. They are going to be very sorry that they didn't. They probably will eventually take this route as a last-ditch effort when Flash content has dipped like 80% and been replaced by HTML5/JS, but that will be too late. This is Adobe's last chance, they must open it now if they expect any kind of future from it.
Flash is too big for Adobe alone, and if they don't want the whole thing to crash and burn totally and have that revenue dry up, they need to open ASAP. This should be the number one priority at Adobe.