Re:"HTML5" versus Flash: Animation Benchmarking
by hackermom on Thursday March 25, 2010 @07:41AM
(#1218185)
I took a look at his Javascript code, in the "HTML" example, and it was far from as well written as it could be - I could easily do the same effect with a whole lot better framerate. I am not sure how fair a test this is.
[ Parent
| on HN ]
Re:"HTML5" versus Flash: Animation Benchmarking
by chadaustin on Thursday March 25, 2010 @08:12AM
(#1218264)
Would you like to go into specifics and teach us something?
Re:"HTML5" versus Flash: Animation Benchmarking
by hackermom on Thursday March 25, 2010 @11:17AM
(#1218593)
I think the general rant I'd throw comes down to the fact that this guy is a "software engineer". He constructs code as if he was designing a mechanical machine, which is just awkward and inefficient. Don't get me wrong on the whole "software engineering vs programming" thing, but I discern good, fast, efficient code from bulky, clunky (but still working) code; you can't "drive car" with a sailing yacht, you can't "breakdance" the Waltz, and you can't go "industrial engineer" on programming - sure, it'll get you somewhere, but it's just not the best way for the end purpose's fullest efficiency - AND EFFICIENCY MATTERS.
Play with this a bit: http://pastebin.com/wauSARbt
1000 plots, averages to 35 fps on my 2.25ghz Macbook on Safari 4.0.3, and this requires more computational power per object plotted than a smart version of the "bouncing balls" effect he tries to do.