News for hackers. Stuff that matters.
Re:IPhone Flash prototype got 30 min battery life by easp on Tuesday November 03, 2009 @03:40PM (#920233)
Any code? You mean any code other than JavaScript?
Re:IPhone Flash prototype got 30 min battery life by kwantam on Tuesday November 03, 2009 @04:57PM (#920388)
You make a good point.

While it is useful for web apps, JavaScript in Mobile Safari is not sufficient for creating the vast majority of standalone applications.

Flash, while hardly a world-class systems programming language, is a step beyond JavaScript in several respects.

Most importantly, it is more consistently cross-platform compatible, meaning that I could actually take advantage of preexisting Flash applets on the iPhone, whereas oftimes when designing a JS app one must consider a far wider range of discrepancies between platforms. In other words, given a randomly-selected JS applet and a randomly-selected Flash applet from all available to me, the probability is greater that the Flash applet will be correct in an officially-supported Flash VM than that the JS applet will be correct in Mobile Safari.

Re:IPhone Flash prototype got 30 min battery life by yardie on Wednesday November 04, 2009 @09:15AM (#921679)
Show me an instance of a modern browser running javascript that doesn't run correctly. I've written a lot of javascript and the only thing that trips me up is the css. Javascript itself works fine on almost all platforms. (Some quirkiness on IE6).