2 ms·
That says nothing, considering this is coded up in an interpreted language (JS), compared to the speed of a compiled language (C/ObjC) on an official iPhone ver
by Klonoar 17y ago
That says nothing, considering this is coded up in an interpreted language (JS), compared to the speed of a compiled language (C/ObjC) on an official iPhone version of Flash, should there ever be one.
- scythe 17y agoLanguages aren't everything. Gnash, written in C++, never succeeded in replacing Flash even on platforms like *BSD where Flash was nonexistent. In particular, when dealing with Flash, feature-completeness is going to be much more important than perfect performance. Since the Flash VM on Linux and OS X is so slow and software-renders everything, it really won't take much to improve on it. The advantages of a dynamic language are probably going to far outweigh C++'s speed, and Javascript's similarity to Actionscript is icing. Plus, Javascript can take advantage of whatever hardware-accelerated graphics library the browser vendor chooses.