by corillian · 12y ago · 0 comments
As for WebGL Apple intentionally disables WebGL support on iOS - except for in iAds - so game devs can't circumvent the app store. Since WebGL is needlessly restricted to the feature set of the OpenGL ES specification its usefulness is severely limited. WebGL also has many other problems such as the fact that JavaScript is slow as hell.
Yes, WebGL is disabled on iOS. It's disabled on OS X desktop too, for now. Hopefully that will change soon.
> JavaScript is slow as hell.
I wouldn't say that 67% of native speed is "slow as hell", and that's where things currently stand. Perhaps you have a specific workload in mind that happens to be slow - how did you measure?
And has very little to do with CPU speed. There are some games where CPU speed is important but there's a large subset (I'd be willing to bet 95%) of AAA games where only GPU speed is important and they run just fine on low end CPUs.
There is an reason why review sites use games for CPU benchmarks. As you can see some games are indeed GPU bound. But vast majority is actually bit of both, e.g some section of it is purely CPU bound while another is purely GPU bound. So improving either component will increase FPS.
My experience with low-latency programming suggests that often the biggest cost is memory management -- garbage collection. In some cases, the GC compacter may even be limited by CPU, although usually its the collection pauses themselves which hurt the most.