Apple's prohibition of Flash-built apps in iPhone 4.0 related to multitasking
appleinsider.com
appleinsider.com
If iPhone applications ran on a layer like the Dalvik VM or .NET, allowing reflection to do things like suspend and restore applications automagickly, this argument could hold water, but we're talking about unmanaged code with no real metadata (outside of the obj-c interface metadata) to speak of. This argument is completely and utterly nonsensical.
While I'm not a professional Objective-C developer, I do know enough about the language to know that there's a whole lot of capability in there for reflection and dynamic tricks, which all depends on the Objective-C runtime. Figuring out how to introspect and dynamically freeze/restore a bunch of stuff that's just ARM machine code could well be a bit of a nightmare.
No, they're compiled to ARM Mach-O binaries.
Just without the humor.
is pretty darn funny.
But, if the code produced by Adobe CS5 and the Apple sanctioned means of developing yields the same result, how could Apple possibly even detect that an app was developed using CS5, Unity3D or some other now forbidden "intermediary" tool?
For something like a flash framework it may not even be necessary to look at the code. Just look at the data files for something that either has a flash header, or a header that's common to that framework.
But how could it detect, say, various libraries that would pre-compile to C/Objective-C — not using a third party development environment with separate libraries like CS5, just direct other language-to-Apple's-environment compilers, like that of Apple's own MacRuby (sort of).
I think what Apple want is for us to use their environment, their libraries, Cocoa Touch and all that. They don't want cross-platform "shovelware" they want apps to be uniquely designed for the iPhone. That's the key. I don't think they really care if the code was written in, say, Ruby or Clojure, using a compiler designed specifically to target Apple's specific libraries. Could they even detect something like that?
I even expect Apple to try to get MacRuby, and similar tools for other languages, working with Mac and iPhone development. It's the generality of cross-compiled generic shovelware they don't like. Not "other" languages.
Think about it: which do you think Apple likes more: cross-platform apps developed "originally" in C using Eclipse (no Apple-libraries) and released for every mobile platform under the sun. Or, apps uniquely designed and developed for iPhone using MacRuby with Cocoa Touch (whenever that's technically possible).
Wow...that is incorrect on so many levels... starting with the fact that it's not possible for Flash authored iPhone apps to run inside a "runtime". The whole trick in CS5 is to compile actionscript and FLA projects into native iPhone apps... The author is little drunk on the koolaid I suspect.
Between that and the several mysterious unattributed appeals to authority, followed by a big apple marketing pitch... is this from a gossip column or something?
We are talking about AppleInsider here...
I read the article, saved the text "...cross compiled with a foreign structure that doesn't behave identically to a native C/C++/Obj-C app." to my paste buffer, and came here to rip that argument to shreds.
Two comments, with a combined total of 85 points, already did this. Thank you, HN, for saving me some time :)
I wonder if there are technical concerns? If AI got this from a real source and just botched his explanation, there could be something there. I'm trying to imagine would it could be...
Perhaps there is a compiler you will be required to use because it structures code in a specific way?