How exactly are Flash and JavaScript different? I don't see the separate niches you envision these technologies occupying for the rest of their existence.
And how can you say JavaScript "will never" kill Flash? Aren't Apple and JavaScript already hurting Flash's market share? Doesn't every major browser release leave less and less that Flash alone can do? Aren't we looking at an example of a major, mainstream brand avoiding Flash for a site? What is going to change over the next few years to reverse these trends?
So can html5 continually ping a variable (say a time point) while a video is playing, including other variables back to a third party server (if the video content was embeded via a jsonp wisget etc.) ??
That's the point - it can do whatever you can do, all technical prerequisites are available (threads, background-requests, runtime-dynamic code etc).
Once the proper tools are available providing diverse standard functions, it will spread and be easier for non-developers.
Hixie answered your specific question, but I think you're missing a very important point: "Doesn't every major browser release leave less and less that Flash alone can do?" There are some things (not this one) that Flash can do that browsers aren't yet able to do. The present limitations dictate what you can do today, but they have little relevance to the long-term discussion.
The thought of Apple killing flash just about makes me sick. I really don't want to be forced into paying the 50-100 percent Apple premium for hardware just because they managed to "kill" a technology everyone decided to hate for no reason.
First, I don't own a single apple product. Thinking back, I don't think I ever have. When I worked at Yahoo they gave me a macbook, and I traded it with one of the Indians when he visited (Yahoo india got HP laptops which run linux, and were kinda okay copies of the thinkpad T series. My boss was okay with it, but Yahoo India made us trade back the next time the guy came to America.)
I'm a linux guy; I don't use flash. Security hazard, you know, if you compromise my workstation, it's damn hard for me to stop you from compromising the systems I admin.
but you know what? that website? works great on chrome in Linux.
Me, I don't like apple any more than you do. I like it less, most likely. I'm extremely unlikely to buy any of their hardware (if nothing else, the macbook keyboards and trackpads just feel /wrong/ somehow. I mean, it's just preference, but they just do not work for me. I've been using ThinkPads with the little eraser head pointers for well over half my life. Not switching now.)
But we can all cheer for the death of flash, that is, if you can do everything you can do in flash with something more open and less buggy.
The _reason_ everyone decided to kill Flash, is because it, combined with pdf reading, is responsible for the majority of browser crashes.
The push here is to eliminate an unnecessary layer from the web stack. And I would point out that while apple has taken the steps to rid flash from their mobile platforms, they aren't leading the charge per say, they are just a very large player in this space.
Finally, just because flash dies, doesn't mean you'll have to buy an apple computer, last I check FF / IE / Opera and even gasp Safari run on non-apple platforms.
The _reason_ everyone decided to kill Flash, is because it, combined with pdf reading, is responsible for the majority of browser crashes.
That a company with such incompetent programming and slimy marketing can come to be so ubiquitous -- this indicates something is broken in the functioning of our software market.
The last time I visited my sister, I asked her why she had Adobe Reader installed on her new 15" Macbook -- AFAIK, she doesn't need it, and Preview, which comes pre-installed, is so much more responsive. (Yes, I was watching her wait for a PDF to come up.) She just pretended I didn't ask. I wonder what trick they pulled?
Once, a few years ago, I started snooping around my old work laptop. Some background process was soaking up large amounts of CPU, even when I had no applications up. I found it was some Visual Basic background process polling so it could instantly spring into action with some Adobe Suite thing. After I deinstalled Adobe and installed Foxit Reader, my machine was much snappier!
I have flash-heavy sites, but for the same reason I hate javascript-heavy sites:
* Silly animations are a bad idea in Powerpoint, a bad idea in Word, and a bad idea in web documents. Word seems to be the only place where most people avoid them though.
* Running a program in a web page breaks statelessness.
* Support for disabled readers will get lost.
I understand that gopher - just text and a list of links - is a little too minimalist. But the other extreme (setting up a GUI just to show a document) is worse.
Derp. There are many applications that I cannot run on my computer because my computer isn't an apple. All of these could have been written in flash, and thus been cross-platform. Apple doesn't like flash, because they want people tied to their platform. (Obviously, I'm not talking about plain javascript here, though.)
One of these days, a "must have" killer app is going to come around--that could have been written in flash--that will force me to buy an Apple. At a ridiculous premium.
I don't think that's too hard to understand, predict, or dislike, given that people have been bitching about a similar strategy from a similar company for many years.
Are you really that confused? I'm not talking about javascript, browser-based applications here, but rather the various apps that run on Apple's proprietary hardware. I think I made that clear, and I thought it was pretty clear that Apple is trying very hard to kill flash and replace it with its own platform that depends upon its own hardware.
This seems really, really simple to understand, but let me know if it's still confusing.
You are confusing. This discussion is about Flash and JavaScript on the web, and you're talking about iOS Apps. One has nothing to do with the other. So, you decided to take the context of the discussion (Flash on the web) and change it (Flash apps), and then limit it to specific hardware (iOS devices, as you cannot run iOS apps on Macs).
On top of all of that, you are confusing how Apple is trying to kill Flash and replace it on the iOS devices (which is not entirely accurate).
So, while you thought you were clear, you weren't. You were confusing, incoherent, and frankly, even after I tried to give you the benefit of the doubt, I still find your arguments weak.
> This seems really, really simple to understand,
Context. You cannot join a conversation talking about something completely unrelated and expect to be understood.
You obviously understand what I'm talking about so how confusing could I honestly be? I'm pretty sure that everybody else understood me, even if they claimed otherwise, because we're not idiots here. It's a cheap tactic to pretend that I'm "incoherent" when I am certainly not.
The topic is flash. Everybody is saying that it should be replaced. Its replacements include 'X' and 'Y'. The fact that I reference 'Y' rather than 'X' is a completely natural context switch.
> You obviously understand what I'm talking about so how confusing could I honestly be?
It took reading through multiple comments that were out of context from the original discussion. Your original comments weren't clear.
> I'm pretty sure that everybody else understood me, even if they claimed otherwise, because we're not idiots here.
That's your sign. =)
We generally aren't idiots here. So if people are having a hard time understanding what you mean, assume the problem lies on your end and that you are failing at communicating. Again, context is important, especially in threaded conversations.
> It's a cheap tactic to pretend that I'm "incoherent" when I am certainly not.
But you were. You're believe that you were perfectly clear hinders your acceptance of that.
And please understand I say this with the hope of helping you see how you weren't clear. I mean, I took the time to read your comments, which meant I had to highlight them, even though they were voted down. I could easily have ignored them.
> The topic is flash.
Flash on the web and JavaScript, CSS and others replacing Flash. That's the topic. It's not just flash.
> Everybody is saying that it should be replaced.
Yes, everyone is saying Flash on the web should be replaced.
> Its replacements include 'X' and 'Y'. The fact that I reference 'Y' rather than 'X' is a completely natural context switch.
It's "replacement" on iOS devices is not part of the topic, for several reasons.
The technology being linked to is not limited to iOS devices. In fact, it has nothing to do with Apple. Apple, in truth, has little to do with the desire to remove Flash from the web. However, they did put a spotlight on it.
So, if the technology being linked to and discussed (JS, CSS, HTML, etc) has nothing to do with Apple, but rather open standards, then it's fair to assume when you talk about proprietary devices, you're referring to iOS devices and the apps there. This is confusing. Flash has never been on iOS, meaning it's not being replaced. Also, Flash isn't being replaced on the desktop either. Flash is the one trying to be the platform to develop desktop applications on.
But that's mostly irrelevant, because you said this:
"I really don't want to be forced into paying the 50-100 percent Apple premium for hardware just because they managed to "kill" a technology everyone decided to hate for no reason."
You won't be forced to pay Apple premium for hardware. In fact, costs will only go down, because what is replacing Flash is open standards. If Flash dies today, nothing changes in terms of your choice of computer to use.
In fact, by keeping Flash alive, you are forcing others to pay a premium. By replacing Flash with open standards, you essentially level the playing field.
Last time I checked - actually yesterday - the HTML5 is only used for the UI part. The audio is still done in Flash, maybe for the sake of DRM. I hate it, because I have my Flash plugin removed. I have to open Chrome just to use Grooveshark.
And how can you say JavaScript "will never" kill Flash? Aren't Apple and JavaScript already hurting Flash's market share? Doesn't every major browser release leave less and less that Flash alone can do? Aren't we looking at an example of a major, mainstream brand avoiding Flash for a site? What is going to change over the next few years to reverse these trends?