News for hackers. Stuff that matters.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by cwyers on Tuesday July 14, 2015 @10:42AM (#9885214)
Let's say that we can get every major site to stop using Flash going forward, and that we can paper over it with HTML5 and polyfills. Great.

What do we do about the historic content that will never, ever be ported to anything other than Flash? Every thing on Kongregate? Newgrounds? Homestarrunner.com? Desktop Tower Defense? We're talking about taking a decade's worth of interactive web content and declaring it no longer relevant. Without a plan for preserving that material and continuing to make it accessible, I think that killing off Flash rather than deprecating it is a terrible idea.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by andrewmcwatters on Tuesday July 14, 2015 @11:25AM (#9885613)
I get really tired of the industry's widespread bandwagoning on this issue in particular. This bandwagoning dismisses more collective works and industries than any technology in the past just for the sake of promoting bleeding edge, evergreen tech.

What about the game industry? What about the animation industry? HTML5 doesn't replace Flash for those arenas. It's blatant ignorance for individuals to even come out and claim Adobe should set and end of life date for the product. Sure Flash has had some issues, and they came at the expense of FutureWave Software, Macromedia, and Adobe moving faster than anyone in the web industry at the time, with different goals, that just happen to now be of interest to web developers at large.

The reality is that web tech has just eaten into and provided standardized variants of features that Flash/Shockwave has had for over TWO decades. Yeah, real progressive of the web community. _Slow clap._

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by jamescostian on Tuesday July 14, 2015 @11:50AM (#9885822)
> What about the game industry? What about the animation industry? HTML5 doesn't replace Flash for those arenas

In the gaming arena, you can look at http://html5games.com/ or http://www.kongregate.com/html5-games or http://www.html5games.net/ or even just Google "HTML5 Games". Based on all of those HTML5 games it's clear that HTML5 can replace Flash in the gaming arena. There's only 1 place where HTML5 games and Flash games are really that different - on mobile devices (Flash doesn't work well if at all, HTML5 works like a charm).

As for animations, doing some simple Googling will bring up results that also show HTML5 can replace Flash: https://www.freshdesignweb.com/examples-html5-animation/

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by andrewmcwatters on Tuesday July 14, 2015 @12:02PM (#9885908)
I'm the designer of a game engine for hobbyists. http://www.planimeter.org/grid/

HTML5 doesn't replace Flash. It's certainly an alternative, like my engine is an alternative to LÖVE, but it doesn't replace it. This is akin to saying SDL replaces lwjgl, or Unity replaces UE4.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by yoklov on Tuesday July 14, 2015 @12:19PM (#9886042)
I'm a game developer who has used flash in the past, and does HTML5 mostly now.

HTML5 without WebGL doesn't match the functionality offered by flash, even for just 2D content.

HTML5 with WebGL runs fairly poorly on a lot of machines, and not at all on many as well.

I'm not really sad to see flash go (though I truly hope there is a way to preserve it's content, and would be very sad to see that go), but HTML5 is a ways off from providing the feature set and reliability of Flash.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by andrewmcwatters on Tuesday July 14, 2015 @12:23PM (#9886081)
Yep, very well stated. I think Adobe should make an effort to remove features from Flash that are no longer relevant and focus on a core set of functionality that allows Flash to go back to its roots and facilitate the needs of animators over anything else, really.

That's Flash's domain predominantly, and that's what it does best out of its feature set.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by hellofunk on Tuesday July 14, 2015 @11:59AM (#9885884)
I definitely wouldn't say that HTML5 "works like a charm" on mobile devices. I did a simple frame rate counter for a basic Canvas scene; the Chrome iOS browser was only 25% the frame rate of Chrome on a 4-year-old laptop.

But I see your point and expect HTML5 to improve, but it is along way from being what a lot people think it is.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by snuxoll on Tuesday July 14, 2015 @12:23PM (#9886080)
> Chrome iOS browser was only 25% the frame rate of Chrome on a 4-year-old laptop.

That would be because Chrome on iOS is not Chrome, it's a wrapper around a UIWebView with all the performance pitfalls that entails. Go try it in Safari on iOS or Chrome on Android if you want a proper performance comparison.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by hellofunk on Tuesday July 14, 2015 @05:56PM (#9888343)
What you say is true, however, the performance on iOS Safari was only marginally better than Chrome. My 60 fps on Chrome Desktop gets about 18 fps on Safari iOS and 15 fps on Chrome iOS.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by eric_h on Tuesday July 14, 2015 @01:58PM (#9886797)
I was under the impression that UIWebView performance was on par with native Safari as of ~iOS 8.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by snuxoll on Tuesday July 14, 2015 @02:33PM (#9887058)
WKWebView was released in iOS 8 that does bring the performance on par, it is still missing features that UIWebView provides and as such Chrome for iOS is still utilizing UIWebView instead of WKWebView.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by teddyuk on Tuesday July 14, 2015 @11:51AM (#9885826)
So is the correct solution for flash to be taken from adobe and open sourced and managed by someone who can actually fix the security bugs??
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by cpncrunch on Tuesday July 14, 2015 @12:39PM (#9886188)
The solution is to add functionality to html5 to support all the major features offered by flash, and then replace flash with interpreted javascript players such as Shumway.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by snowwrestler on Tuesday July 14, 2015 @12:25PM (#9886090)
It's not about features. I doubt that many people think that HTML5 is better than Flash at games or animation.

The world has just changed around Flash. The performance and security problems, which were an annoyance 7 years ago, are today seemingly fatal--not least because Adobe has spent 7 years trying to fix them and failing.

At some point it seems like we should just throw up our hands and invoke the sunk cost fallacy.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by flatulentone on Tuesday July 14, 2015 @07:07PM (#9888674)
>This bandwagoning dismisses more collective works and industries than any technology in the past just for the sake of promoting bleeding edge, evergreen tech.

Flash needs to go for the sake of our security, not to climb up to a bleeding edge. The security risks are way beyond unacceptable.

Perhaps you could argue that some similar functions in HTML5 have just as serious of threats but additionally lack an off switch??

As for accessing legacy content, treat Flash like Ebola and keep an old machine around for that? It would help if the old machine has no writable flash or drives (or at least includes a non-writable restore image if there's a drive).

If our machines have writable flash for the network adapter, video card, hard drive, bios, and a few other things, how secure can they be? Even our flash isn't safe from Flash.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by pcwalton on Tuesday July 14, 2015 @01:07PM (#9886394)
Given how slowly they update, it's quite possible the animation industry wouldn't care that much. Lots of studios haven't even updated past Flash MX.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by Silhouette on Tuesday July 14, 2015 @10:51AM (#9885298)
As an aside, we shouldn't even accept your first assumption there, because it's demonstrably not true. There are all kinds of thing that tools like Flash (and Java, and Silverlight, and even ActiveX controls) have previously been useful for that HTML5 and JS can't yet replace.

But your main point is a very good one. There are way too many people in the industry right now complaining about those older technologies who think that the world somehow magically owes them updates to 10-20 years of past work, just because their bleeding edge browser-native tools have finally reached the point in the very recent past when they can do some of the same work to a useful degree.

There are also way too many people moaning about how these plug-ins are such horrendous security problems while ignoring the facts that (a) every major browser also has a less than stellar track record on security issues, with Firefox and Chrome patching numerous vulnerabilities in updates every few weeks, and (b) moving the more advanced, and often hardware-accelerated, functionality from plug-ins to native browser capabilities isn't really reducing the area of the attack surface, it's just reshaping it. Given these facts, there is little reason to assume that browsers will inherently be more secure just because plug-ins were forced out in favour of native technologies. As others have been pointing out today, the reverse might actually be true, because at least the plug-ins have a degree of isolation and click-to-play safeguards are now widespread, while the trend with browsers (again, particularly Firefox and Chrome) is to remove obvious settings that would allow users to turn off certain functions.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by pyre on Tuesday July 14, 2015 @11:16AM (#9885541)
Don't most of the Chrome vulnerabilities used in pwn2own end up being Java or Flash vulnerabilities?
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by dangerlibrary on Tuesday July 14, 2015 @11:36AM (#9885713)
Things that do more have a larger attack surface.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by pyre on Tuesday July 14, 2015 @02:19PM (#9886962)
Exactly. This is why the argument of "well, you can't complain about Flash/Java exploits because the browser itself also has exploits too" is not valid. By adding Flash/Java to the browser you are increasing the attack surface of the browser "package" as a whole.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by Silhouette on Tuesday July 14, 2015 @02:27PM (#9887020)
By adding Flash/Java to the browser you are increasing the attack surface of the browser "package" as a whole.

By adding HTML5 video and now its DRM-related infrastructure, WebGL, and other features that developers used to use Flash/Java for, you are also increasing the attack surface of the browser "package" as a whole. The comparison is a perfectly reasonable one.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by pyre on Tuesday July 14, 2015 @04:23PM (#9887771)
On the other hand, those will be separate implementations on different browsers, so it reduces the applicability of any one exploit. An exploit in Flash or Java becomes cross-browser.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by Silhouette on Tuesday July 14, 2015 @08:11PM (#9888958)
On the other hand, those will be separate implementations on different browsers

Unless more than one browser uses, say, the same video codecs, or the same third-party DRM-related module, or the same system services for doing hardware-accelerated 3D rendering.

There may be some marginal advantage to having different implementations in different browsers, but marginal is probably all it is. Realistically, as things we used to do in the likes of Flash or Java move into browser-native implementations, there is still no reason to assume that the people writing those implementations will magically produce completely secure implementations where no-one ever has before.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by ehPReth on Tuesday July 14, 2015 @10:52AM (#9885300)
From what I understand Shumway (https://github.com/mozilla/shumway) is being developed for exactly that reason
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by jamescostian on Tuesday July 14, 2015 @11:52AM (#9885834)
And Google is also doing the same with Swiffy (https://developers.google.com/swiffy/)
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by Shish2k on Tuesday July 14, 2015 @11:41AM (#9885752)
> What do we do about the historic content that will never, ever be ported to anything other than Flash?

Stick it in our history books as an example of what happens when you tie yourself to a proprietary platform?

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by hellofunk on Tuesday July 14, 2015 @12:03PM (#9885911)
True. And in fact even Steve Jobs said a decade or two ago that the digital videos people were making at the time would never run on any computer in the future. And I do have a bundle of digital media from the mid-90s that I can't open in anything.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by potatolicious on Tuesday July 14, 2015 @11:25AM (#9885616)
> "Without a plan for preserving that material and continuing to make it accessible, I think that killing off Flash rather than deprecating it is a terrible idea."

I'll miss some of the content to be sure, but ultimately the security of hundreds of millions of users trumps nostalgia and old Flash games from the 90s.

If there's a good way to preserve the content in some way, I'm all for it, but justifying the continued use of Flash purely on the grounds of historical content is IMO pretty weak.

Side note: a lot of the old Flash animations have been "ported" to YouTube, the non-interactive stuff at least. Heck, the YouTube versions show up before the real Flash versions sometimes...

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by tothepixel on Tuesday July 14, 2015 @11:42AM (#9885763)
Flash was the major source of online rich-media games up until a couple of years ago, not "the 90's". It's still used in that arena because HTML/CSS/JS is not as good of a platform for interactive gaming.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by potatolicious on Tuesday July 14, 2015 @11:55AM (#9885854)
I'd argue that Flash as a gaming platform has been fairly marginal for quite some time, and that most of what people would want to preserve existed somewhere between the late 90s to the mid-00s - but that's purely a subjective argument and we can argue about that till the cows come home and never agree.

Ultimately it comes down to this: keeping a notoriously insecure runtime around in active use, by hundreds of millions of people, is a non-starter. Unlike, say, Java applets, the frequency and severity of security holes found in Flash is just ridiculous. After years of allegedly focusing on cleaning up Flash, serious exploits are still being discovered regularly.

The strongest argument in favor of keeping Flash around is IMO the fact that there is important functionality provided by Flash that has not been effectively (or at all) replicated by HTML. The weakest argument is IMO any centered around historical preservation.

Personally, even considering the strongest argument, keeping an insecure runtime running on hundreds of millions of machines vs. better in-browser games... The choice seems pretty clear.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by cwyers on Tuesday July 14, 2015 @12:07PM (#9885947)
Why is deprecation insufficient for the security concerns? Say that Firefox/Chrome/Edge will no longer execute Flash code without explicit user permission on a per-SWF file basis. No more background execution of Flash as a default. But the Flash runtime is still there to display Flash content if the user trusts the source. Doesn't that address the security concern AND allow people to continue to access the entire web?
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by potatolicious on Tuesday July 14, 2015 @03:18PM (#9887346)
Oh don't get me wrong - deprecation is the right move. We are after all unable to simply remove Flash from every website and every user machine overnight.

But right now we're not moving towards deprecation, Flash is not officially stated by Adobe (nor anyone else of any authority) to be a deprecated technology, and new work is being created for it still (with the encouragement of Adobe, even).

Deprecation at the community level will also require us to define replacements and expand the current limitations of HTML5 so that functionality lost with Flash can at least in some way be recovered.

That being said, my ideal solution here is a bit harsher than yours. Like you, I hope all browsers immediately stop executing Flash code without explicit user permission on a per-SWF basis, and I want them to unbundle Flash. The only people who should be running Flash are the ones who have chosen explicitly to put it on their machine.

In any case, my original post was in response to the notion that Flash should be kept alive because of all the old games/animations that have already been created for it - that is IMO a pretty bogus argument for keeping around something so infamously insecure. Flash needs to be deprecated.

Not to mention from a preservation of history perspective deprecation of Flash is not harmful. You can run an old copy of Windows in a VM with an old copy of a browser with an old copy of Flash (and not have any back compat issues, sweet). I do not believe it should be a priority to preserve everyone's ability to view old Flash content without any prior setup at the drop of a hat. If you want to rewind to the mid-00s it's easy enough to get something like this set up - certainly easier than buying your own 35mm projector or microfilm machine like other archival formats.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by jcranmer on Tuesday July 14, 2015 @12:28PM (#9886108)
And what about all the games from 15-20 years ago, or all the "explanatory" pages (e.g., visualizing different types of balanced binary search trees) that used Java applets? This has been done before, and not that long ago. And just like with DOS or NES games, people will build emulators that work well enough and that will suffice for enjoying historical content.

Actually, the really annoying stuff isn't Flash, it's Shockwave. The format's not been reverse-engineered, and it's hard-to-impossible to find a working plugin for it that seems to play some of those old Shockwave games.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by melling on Tuesday July 14, 2015 @11:32AM (#9885669)
Much of the content will disappear. Wasn't that one of the arguments against using Flash in the first place? People used it anyway. Now it's time for the emotional blackmail?

If Apple kills iOS in a decade what happens to all those apps? They're not sentimental.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by cwyers on Tuesday July 14, 2015 @11:37AM (#9885716)
Well, no, they're not sentimental. But I am. And that's a hell of an incentive to not use iOS if you ask me. At least with Android I know that I'll be able to still run those versions in an emulator if I want to.

This isn't about emotional blackmail. And heck, I'm not the person who made any of those things. I'm just the person who remembers them fondly and still wants to have them around. The difficulty of preserving digital works is bad enough without callous disregard for the task.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by melling on Tuesday July 14, 2015 @12:21PM (#9886055)
In hundreds of years, let alone thousands of years, the Flash content isn't going to matter. Neither will those iOS and Android apps. Flash has been dying for 5 years. A quicker death will be better for everyone. If we wait another 5 years, the problem will just grow.

Also, consider that the next couple billion people to come online will be mobile only. Why create content that they can't use?

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by cwyers on Tuesday July 14, 2015 @12:26PM (#9886096)
We still watch hundred-year-old movies and read thousand-year-old books. Because people have put in the effort to preserve those things for us. Meanwhile, you're arguing that we shouldn't expend any effort so that people can watch five-year-old Flash cartoons.

In multiple posts, I've said deprecate it. No new Flash content. No reason to create more content that is encumbered by Flash's legacy status. (Although others here have pointed out that HTML5 is not quite as capable of replacing Flash as some think.) But why the huge rush to completely abolish the Flash content that already exists?

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by jhall1468 on Tuesday July 14, 2015 @12:59PM (#9886335)
We absolutely don't watch all of the hundred-year-old movies or all of the thousand-year-old books, we read the BEST of those. The best of the flash content is going to be preserved via other mediums.

Removing flash entirely has the added benefit of forcing the best content onto modern mediums. Depreciating it doesn't fix the security problems associated with it, it just extends them indefinitely.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by Zikes on Tuesday July 14, 2015 @11:45AM (#9885783)
You're right, it's no longer relevant.

Just like Commodore 64, Apple IIe, the original PlayStation, NES, XBox, and a slew of other platforms made obsolete by something called "progress".

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by wcummings on Tuesday July 14, 2015 @12:21PM (#9886058)
>Newgrounds? Homestarrunner.com? Desktop Tower Defense?

I'm pretty comfortable calling these things irrelevant.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by denom on Tuesday July 14, 2015 @11:49AM (#9885809)
Look at the various computer museums and organizations that deal in archiving old technology. They have been dealing with this problem for years. It could be as simple as mirroring the website or service and firing up a virtual machine with windows 2000 and Adobe Flash installed. Thats easy compared to dealing with old magnetic media like floppies and reels.

It's time for flash to die.

Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by moistgorilla on Tuesday July 14, 2015 @12:20PM (#9886051)
With webassembly maybe a compile target for flash could be created?
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by macspoofing on Tuesday July 14, 2015 @11:51AM (#9885827)
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by ytdht on Tuesday July 14, 2015 @01:21PM (#9886501)
that is a very important issue that is very common with everything software related.... hopefully someone will keep porting them to newer technologies.. but more then likely lots of stuff will be lost forever... even backups can suffer from this in the long run, but maybe the physical media would become defective first..
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by asadotzler on Tuesday July 14, 2015 @01:47PM (#9886698)
Shumway, a Flash player in JavaScript, will be a safer and smarter option.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by leni536 on Tuesday July 14, 2015 @12:25PM (#9886089)
Run them in a VM, just like old C64 or DOS games.
Re:The Call to Kill Adobe’s Flash in Favor of HTML5 Is Rising by ende on Tuesday July 14, 2015 @10:48AM (#9885271)
We don't go to those sites anymore.