4 ms·
The funny thing is, all the arguments against Flash on iPhone also apply to HTML on iPhone. Flash and the Web have a concurrent development history. Hell, AS3 a
by kmeisthax 6y ago
The funny thing is, all the arguments against Flash on iPhone also apply to HTML on iPhone. Flash and the Web have a concurrent development history. Hell, AS3 almost became JavaScript 2.0 - Adobe even gave Mozilla the AVM2 runtime to replace SpiderMonkey. Conversely, pretty much no website was designed for smartphones before the iPhone. Everything was sized for large screens and had hover content.
The difference is that Apple put a lot of time and effort into making old content work. They wrote dynamic JIT compilers for JavaScript, sliced up webpages into GPU layers, downscaled old content to fit on tiny screens, changed the behavior of hovers so that you could use them with a finger, and added detects for undersized tap targets and form fields. Adobe's approach was to shove all that compatibility work onto the developer. Why make a JIT for AVM1 when you could just make a new version of ECMAScript and make everyone rewrite their movies in AS3? Why embrace GPU rendering and composition when you can just hand people a thin wrapper around OpenGL and tell them to use Starling Framework? Why bother fixing broken hovers when you can just throw more events to the developer to handle?
Like, imagine if Steve Jobs went up on stage and told people that the iPhone would run webapps, but only if people wrote everything in Angular and WebGL. That's kind of what Flash Player was trying to do. Apple knew that you had to get the existing, broken, not mobile-friendly-at-all content up and running first and they they could push through more mobile-friendly web standards. Adobe figured they could just entice developers into writing not-terrible Flash movies and then they'd be allowed on smartphones again.
- giantrobot 6y agoBesides the performance and general UX for Flash on mobile, there's the pretty common pattern of its UX being a dumpster fire on the desktop [0] as well. For every good use of Flash on web pages there were dozens of UX abortions. Flash sites were rife with mystery meat UIs. They were also accessibility hostile. While you can commit a lot of the same sins on a web page you have to go out of your way to do so. Besides all of those problems it was also a closed platform like the GP was decrying with Apple's App Store. You can make a web app entirely FOSS with entirely FOSS tools and served from a completely FOSS stack. If you want to avoid any platform lock in it's entirely possible. Flash was the literal opposite until years after it's mobile availability was a meaningful concern. [0] https://www.nngroup.com/articles/flash-99-percent-bad/ https://www.nngroup.com/articles/flash-99-percent-bad/