News for hackers. Stuff that matters.
Re:Walt Mossberg Tells Adobe CEO To His Face That Flash Suck... by teyc on Thursday June 02, 2011 @09:05PM (#2614750)
Speaking from a technical standpoint, since Flash is a VM, and it's running on top of Dalvik, wouldn't performance necessarily be poor?

If anyone knows a little more about how Flash works on the mobile, please share.

Re:Walt Mossberg Tells Adobe CEO To His Face That Flash Suck... by jevinskie on Thursday June 02, 2011 @10:00PM (#2614866)
I believe the Android Flash plugin uses native code. You aren't forced to run on Dalvik on Android - Google released a Native Development Kit that includes GCC.
Re:Walt Mossberg Tells Adobe CEO To His Face That Flash Suck... by teyc on Thursday June 02, 2011 @10:17PM (#2614902)
wouldn't NDK require a very recent version of Android? There are a lot out there which are still on 2.2.
Re:Walt Mossberg Tells Adobe CEO To His Face That Flash Suck... by shoota on Thursday June 02, 2011 @10:41PM (#2614946)
2.2 would be the version that Flash was introduced.
Re:Walt Mossberg Tells Adobe CEO To His Face That Flash Suck... by av500 on Friday June 03, 2011 @06:12AM (#2615775)
Flash runs as a plugin inside the webkit based browser and webkit is native code in android since day one.

that also means that you cannot play local .SWF files on android unless you manage to get them inside a web page...

Re:Walt Mossberg Tells Adobe CEO To His Face That Flash Suck... by acqq on Friday June 03, 2011 @06:43AM (#2615816)
Flash can't run natively "on webkit." Flash file contains bytecode, which has to be either fully interpreted or JIT-ed. It has to be done on mobiles too. The interpreter or JIT-er has to be native. Writing native JIT-ers is hard, to have a native interpreter you can write it in C and recompile it for every platform but it will be significantly slower. In short, it's not easy to make the Flash fast on a new CPU. And no, Webkit is not a CPU.
Re:Walt Mossberg Tells Adobe CEO To His Face That Flash Suck... by cpeterso on Friday June 03, 2011 @02:11PM (#2617386)
To be fair, the Android Browser won't let you load local .html files either.
Re:Walt Mossberg Tells Adobe CEO To His Face That Flash Suck... by cpeterso on Friday June 03, 2011 @02:16PM (#2617411)
All Android apps are Java apps. The Android Browser is a thin Java app that uses JNI to load WebKit (which is native code). WebKit then loads the Flash native (which is also native code). Flash is running as native code, JIT'ing ActionScript, and (as necessary) calling back into Dalvik APIs using JNI.