Re:Ex-Adobe Engineers on Thoughts on Flash
by stevenwei on Friday April 30, 2010 @02:17PM
(#1308938)
"Luh was also formerly employed by Apple on the Final Cut Pro team. He said that because Adobe’s Flash Packager didn’t use Apple’s toolchain to create apps, the resulting code would not work well on an iPhone or iPad. A simple "Hello World" app created in Flash and compiled to work on the iPhone would take up 8 MB, he said, when it should be no longer than a few KB. (Wired.com verified this figure with two other developers who have tested the iPhone Packager tool in CS5.)"
8 MB for a simple binary? Really? That alone is almost enough justification for me. I frequently end up downloading apps directly via my iPhone - a massive increase in download time for no actual gain in value would hurt the experience.
Re:Ex-Adobe Engineers on Thoughts on Flash
by hakan on Friday April 30, 2010 @03:24PM
(#1309140)
That's weird - I see 3.6 MB, not 8 MB, when I click into the article (Apr 30, 3:24 EST):
"A simple “Hello World” app created in Flash and compiled to work on the iPhone is substantially larger in file size, and it would take up 3.6 MB when it should be no larger than 400K when made with Xcode, according to James Eberhardt, a mobile developer who has tested iPhone Packager."
Re:Ex-Adobe Engineers on Thoughts on Flash
by Qz on Friday April 30, 2010 @04:14PM
(#1309287)
It's an edge case. No one is going to be deploying a Hello World App to the App Store. Try comparing code size for similar applications and then we might have something to talk about. Otherwise, this is poor argument.
MTV's South Park Avatar Creator is 9.3MB. Three other avatar creators that seemed similar in the appstore averaged about 6.5MB. Not a very scientific comparison, admittedly.
Re:Ex-Adobe Engineers on Thoughts on Flash
by Qz on Friday April 30, 2010 @08:09PM
(#1309813)
I wouldn't be surprised that they're bigger as it's generated code. Still, it doesn't seem to me like flash apps are going to eat up all your available app storage space.
Re:Ex-Adobe Engineers on Thoughts on Flash
by Qz on Friday April 30, 2010 @06:00PM
(#1309542)
Again, the Hello World App is entirely irrelevant -- the question is whether a real world Flash iPhone app will be substantially larger than a native iPhone app that does basically the same thing.
Re:Ex-Adobe Engineers on Thoughts on Flash
by statictype on Friday April 30, 2010 @09:37PM
(#1309949)
To clarify the point with an example, a one line hello world python script when compiled down to an executable on Windows takes about 7 mb of space because of the runtime payload. But, a more complex 1000 line script wouldn't take up much more space - maybe 7.2 mb
Re:Ex-Adobe Engineers on Thoughts on Flash
by windsurfer on Friday April 30, 2010 @03:22PM
(#1309130)
I would still rather have a large download than no download. Adding flash wouldn't hurt anything, it would simply enable some more developers into the iPhone space.
Re:Ex-Adobe Engineers on Thoughts on Flash
by steveklabnik on Friday April 30, 2010 @03:45PM
(#1309207)
> Adding flash wouldn't hurt anything
Remember that "software decoding + crash problems" bit? It certainly would cause harm.
And Apple's not concerned about bringing more developers to the iPhone, they're concerned about bringing _great_ developers to the platform. It's never really been about numbers with Apple, anyway.
EDIT: I'm also not saying that Flash developers are bad, and that they shouldn't make things for the iPhone. I'm just saying that Apple's not playing a numbers game, they're playing a quality game. I'm sure Apple would love for all Flash devs to start making apps with Objective C.
Re:Ex-Adobe Engineers on Thoughts on Flash
by pavlov on Saturday May 01, 2010 @07:57AM
(#1310455)
The Flash-compiled apps would not be nearly so big if Apple allowed shared libraries to be installed once and loaded dynamically, instead of forcing them to be statically linked into each and every app that uses them, thus bloating app size with redundant code.
But that's crazy talk -- it's not like iPhone OS is an Unix with several[1][2][3] well-defined and proven extension mechanisms, or anything...
Re:Ex-Adobe Engineers on Thoughts on Flash
by pederb72 on Saturday May 01, 2010 @10:15AM
(#1310583)
Then Apple would have to trust that Adobe (or other 3rd party library developers) will never introduce regression bugs in their dynamic library, and never break the ABI, otherwise you risk that an update in a library will break lots of existing apps.
Re:Ex-Adobe Engineers on Thoughts on Flash
by elai on Saturday May 01, 2010 @11:07AM
(#1310646)
That is what library versioning is for. One app uses X version, Y app uses another. The worst case scenario is that it would be just the same as the current static library memory usage we have now.
Re:Ex-Adobe Engineers on Thoughts on Flash
by pederb72 on Saturday May 01, 2010 @12:28PM
(#1310735)
All risk could be removed if an app could only use a specific version of a library I guess (even a bugfix micro release can introduce regressions). However, adding support for 3rd party libraries would add quite a bit of complexity to the app store, since each app would have to include information about which external libraries it uses, and when downloading an app, iPhone OS would also have to download all the external libraries, if not already installed.
Re:Ex-Adobe Engineers on Thoughts on Flash
by jafl5272 on Friday April 30, 2010 @02:34PM
(#1308994)
> If Adobe crashes on Macs, that actually has something “to do with the Apple operating system ,” Adobe’s CEO Shantanu Narayen told The Wall Street Journal.
Yeah, that’s it. Program crashes. Must be the OS. Right.... Heck, why not blame the hardware, too!
Re:Ex-Adobe Engineers on Thoughts on Flash
by akmiller on Friday April 30, 2010 @05:02PM
(#1309401)
Not that I agree with him but this article kind of murdered his quote. He was replying to the fact that Jobs had implied that Flash was responsible for the majority of Mac crashes.
I think jobs just meant that Flash simply crashed a lot on Macs but he seemed to infer that Flash actually caused the OS to crash. If Flash is causing the OS to crash then yes there is a problem as you'd hope a program residing in the user space wouldn't crash the kernel.
Re:Ex-Adobe Engineers on Thoughts on Flash
by Zev on Saturday May 01, 2010 @02:40AM
(#1310226)
I was simply referring to OS X's automated crash reporting tool. Which does work after a kernel panic, regardless of what messed up badly enough to cause such an event.
Re:Ex-Adobe Engineers on Thoughts on Flash
by wtallis on Friday April 30, 2010 @08:22PM
(#1309841)
Jobs didn't imply that Flash is responsible for the majority of crashes. What he did say explicitly, and not for the first time, is that Flash is the number one source of crashes on Macs. That's not the kind of claim a chief executive would make without the data to back it up.
Regardless of whether the crashes are due to poor code in OS X or poor code in Flash, if Apple wants to maintain a reputation for stability, their biggest enemy is the crashes involving Flash. Since they don't control the quality of code in Flash, they've got reason enough to try to kill Flash without their mobile strategy coming into the picture.
Re:Ex-Adobe Engineers on Thoughts on Flash
by epochwolf on Friday April 30, 2010 @09:49PM
(#1309962)
Flash may have killed Safari but OSX keeps working as if nothing happened. That alone should say something about the OS.
I've seen flash take out Windows XP. Not a blue screen but destabilized the system so badly it needed to be rebooted and it promptly froze halfway through the shutdown process. I'm still curious how flash was able to do that because I could repeat it by visiting the same website.
Re:Ex-Adobe Engineers on Thoughts on Flash
by asnyder on Friday April 30, 2010 @02:08PM
(#1308917)
Interestingly enough these Ex-Adobe engineers are likely just as affected as Adobe. On their blog they believe their project Corona will prevail, I'm not so sure.
Unfortunately, I can't go into much detail, but Apple is definitely cracking down on these multi-platform developer tools.
Re:Ex-Adobe Engineers on Thoughts on Flash
by mahmud on Saturday May 01, 2010 @12:41AM
(#1310119)
On their blog they believe their project Corona will prevail, I'm not so sure.
They're not sure either. That's why they're kissing up to Apple and hoping by showing allegiance they might get an exception. They're probably thinking that Apple would be happy to partner with, or buy out, a flash-like platform that's iPhone OS friendly.
I don't think these guys are the most credible arbiters on the issue; they have a horse in the race, and probably an axe to grind.
Re:Ex-Adobe Engineers on Thoughts on Flash
by acg on Friday April 30, 2010 @02:32PM
(#1308986)
This reads like Adobe left flash to wither on the vine. In retrospect perhaps Adobe is better at tools and they should have open sourced the flash plugin 5 years ago. Allowing them to concentrate on world class tools.
I can't help thinking that acrobat reader is perhaps going the same way. Will anyone use the plugin in a few years?
Re:Ex-Adobe Engineers on Thoughts on Flash
by acg on Friday April 30, 2010 @03:41PM
(#1309198)
I thought the acquisition may have been almost exactly 5 years ago, but you're right that it wasn't complete till December.
Also I was thinking if the plugin were opensource over this period when there has been increased browser competition how much more innovation we would get natively in the browser.
Re:Ex-Adobe Engineers on Thoughts on Flash
by shawndumas on Friday April 30, 2010 @02:14PM
(#1308927)
“Flash was designed for the desktop world, for web and large screens, not the user experiences you want to create in these new devices with touch, accelerometers and GPS,” Luh said. “It wasn’t designed with that in mind at all.”
Re:Ex-Adobe Engineers on Thoughts on Flash
by dougmccune on Friday April 30, 2010 @03:19PM
(#1309121)
The same can be said of all technology whether that's HTML or any runtime or platform ever in existence. The fact that it existed before these things (touch, accelerometers, GPS) means that obviously it wasn't designed for these things. But technology advances. You wouldn't say that HTML 5 shouldn't be used for drawing capabilities because HTML 4 wasn't created for drawing. That's just silly.
The current beta of Flash player supports touch events (including gestures), accelerometer input, and GPS.
Re:Ex-Adobe Engineers on Thoughts on Flash
by thought_alarm on Friday April 30, 2010 @03:37PM
(#1309184)
The iPhone was announced over 3 years ago. Now it's 2010 and this Flash player is only in beta. It demonstrates how Adobe has struggled to deliver their software for these devices, likely due to the reasons these former employees suggest in the article.
In the meantime, Apple has delivered an excellent mobile video and HTML5 implementation, and they did it using open standards and open source.
Re:Ex-Adobe Engineers on Thoughts on Flash
by dougmccune on Friday April 30, 2010 @03:41PM
(#1309200)
Well ok then... I wasn't saying that they did it fast or that it's released or anything of the sort. I was simply saying that the argument that a technology was first developed before the current needs of the technology is a completely bullshit argument.
Re:Ex-Adobe Engineers on Thoughts on Flash
by dougmccune on Friday April 30, 2010 @04:04PM
(#1309257)
and my point was that HTML _5_ is being designed for touch, not any prior version of HTML. Just like Flash Player _10.1_ is being designed for touch, not any prior version of Flash.
Saying Flash wasn't originally designed for touch, etc. is the same as saying HTML wasn't originally designed for touch, etc.
Re:Ex-Adobe Engineers on Thoughts on Flash
by figital on Friday April 30, 2010 @02:14PM
(#1308931)
There was something called "Flash Lite 1.0" that was usually on cell phone demos circa 2004-2007. I don't recall any apps ever being built for it, getting any buzz, etcetera (especially on my Treo 650 which was a great phone). I do remember a few Vaporware™ press releases though. Sorry, plugins are ghetto.
Re:Ex-Adobe Engineers on Thoughts on Flash
by blub on Friday April 30, 2010 @03:10PM
(#1309096)
Flash Lite is alive and well on the Symbian os, including applications and websites.
In fact Symbian is probably the os with the most dev tools available: java, c++, python, flash, ruby(?). There was a .net too but the company that made it closed shop.
Re:Ex-Adobe Engineers on Thoughts on Flash
by BudVVeezer on Friday April 30, 2010 @03:25PM
(#1309143)
"A simple 'Hello World' app created in Flash and compiled to work on the iPhone is substantially larger in file size, and it would take up 3.6 MB when it should be no larger than 400K when made with Xcode..."
Am I the only one that finds both scenarios to be ridiculous? 400k or 3.6MB doesn't matter -- both are stupidly large just to put up hello world...
Re:Ex-Adobe Engineers on Thoughts on Flash
by Qz on Friday April 30, 2010 @04:17PM
(#1309298)
Making Hello World apps is an edge case for commerical software development frameworks. They're not optimized for it and there is no reason for them to be.
Re:Ex-Adobe Engineers on Thoughts on Flash
by wtallis on Friday April 30, 2010 @08:36PM
(#1309860)
When your framework is made to build apps that may be downloaded over the air on the nation's least reliable cellular network, you should at least try not to include the kitchen sink with every app. Waiting for the app to download is the user's first impression after clicking "buy".
Hello World is not just an edge case - it's a lower bound. There are plenty of non-trivial apps that can be implemented in under the ~3MB overhead for Flash. Once multitasking arrives, this kind of overhead will be even more important, because small single-purpose utilities will be more useful. Also, if the overhead is 3MB on-disk, the in-memory overhead is likely to be even bigger, and it's not likely that it could be shared between several Flash utilities running simultaneously.
8 MB for a simple binary? Really? That alone is almost enough justification for me. I frequently end up downloading apps directly via my iPhone - a massive increase in download time for no actual gain in value would hurt the experience.
"A simple “Hello World” app created in Flash and compiled to work on the iPhone is substantially larger in file size, and it would take up 3.6 MB when it should be no larger than 400K when made with Xcode, according to James Eberhardt, a mobile developer who has tested iPhone Packager."
Tweetie 2 (very full featured twitter client): 2.8MB
Things (todo list manager): 983KB
Strategery (game, simple graphics): 6.3MB
Canabalt (game, slightly fancier graphics): 8.8MB
iOctocat (github browser): 749KB
Prowl (internet notification client): 351KB
Simplenote (Note taking, iPhone/iPad universal version): 853KB
Edit:
A cursory run-through of the flash apps listed by Adobe http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/ indicates that they're all approximately 10-11MB.
MTV's South Park Avatar Creator is 9.3MB. Three other avatar creators that seemed similar in the appstore averaged about 6.5MB. Not a very scientific comparison, admittedly.
Remember that "software decoding + crash problems" bit? It certainly would cause harm.
And Apple's not concerned about bringing more developers to the iPhone, they're concerned about bringing _great_ developers to the platform. It's never really been about numbers with Apple, anyway.
EDIT: I'm also not saying that Flash developers are bad, and that they shouldn't make things for the iPhone. I'm just saying that Apple's not playing a numbers game, they're playing a quality game. I'm sure Apple would love for all Flash devs to start making apps with Objective C.
Not adding it doesn't hurt anything either
But that's crazy talk -- it's not like iPhone OS is an Unix with several[1][2][3] well-defined and proven extension mechanisms, or anything...
[1] http://developer.apple.com/mac/library/documentation/Develop...
[2] http://developer.apple.com/mac/library/documentation/CoreFou...
[3] http://developer.apple.com/mac/library/documentation/MacOSX/...
Yeah, that’s it. Program crashes. Must be the OS. Right.... Heck, why not blame the hardware, too!
I think jobs just meant that Flash simply crashed a lot on Macs but he seemed to infer that Flash actually caused the OS to crash. If Flash is causing the OS to crash then yes there is a problem as you'd hope a program residing in the user space wouldn't crash the kernel.
That stat came from Apple's automated crash reporting tool, and I can't imagine that'd work after a kernel panic.
Regardless of whether the crashes are due to poor code in OS X or poor code in Flash, if Apple wants to maintain a reputation for stability, their biggest enemy is the crashes involving Flash. Since they don't control the quality of code in Flash, they've got reason enough to try to kill Flash without their mobile strategy coming into the picture.
http://marcusvorwaller.com/look/flash_fail-20100430-125225.j...
I've seen flash take out Windows XP. Not a blue screen but destabilized the system so badly it needed to be rebooted and it promptly froze halfway through the shutdown process. I'm still curious how flash was able to do that because I could repeat it by visiting the same website.
Sure does: Keep the UI out of the kernel :)
Unfortunately, I can't go into much detail, but Apple is definitely cracking down on these multi-platform developer tools.
They're not sure either. That's why they're kissing up to Apple and hoping by showing allegiance they might get an exception. They're probably thinking that Apple would be happy to partner with, or buy out, a flash-like platform that's iPhone OS friendly.
I don't think these guys are the most credible arbiters on the issue; they have a horse in the race, and probably an axe to grind.
I can't help thinking that acrobat reader is perhaps going the same way. Will anyone use the plugin in a few years?
Also I was thinking if the plugin were opensource over this period when there has been increased browser competition how much more innovation we would get natively in the browser.
Bingo...
The current beta of Flash player supports touch events (including gestures), accelerometer input, and GPS.
In the meantime, Apple has delivered an excellent mobile video and HTML5 implementation, and they did it using open standards and open source.
Saying Flash wasn't originally designed for touch, etc. is the same as saying HTML wasn't originally designed for touch, etc.
listen, I get what you are saying: the past is the past, but we want to move on, now, and adobe seems to be moving glacially.
http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(H...
In fact Symbian is probably the os with the most dev tools available: java, c++, python, flash, ruby(?). There was a .net too but the company that made it closed shop.
Am I the only one that finds both scenarios to be ridiculous? 400k or 3.6MB doesn't matter -- both are stupidly large just to put up hello world...
Hello World is not just an edge case - it's a lower bound. There are plenty of non-trivial apps that can be implemented in under the ~3MB overhead for Flash. Once multitasking arrives, this kind of overhead will be even more important, because small single-purpose utilities will be more useful. Also, if the overhead is 3MB on-disk, the in-memory overhead is likely to be even bigger, and it's not likely that it could be shared between several Flash utilities running simultaneously.