News for hackers. Stuff that matters.
Re:Mozilla and Epic Preview Unreal Engine 4 Running in Firefox by mixedbit on Wednesday March 12, 2014 @03:24PM (#7387686)
Games performance is often GPU bound. If a driving language (C++, JavaScript of whatever else) is fast enough to compute application logic without delaying frames, it doesn't really matter if it is x% slower compared to some other language. GPUs in WebGL are programed using native shaders so there is no performance penalty for GPU computations.
Re:Mozilla and Epic Preview Unreal Engine 4 Running in Firefox by taeric on Wednesday March 12, 2014 @03:37PM (#7387766)
Then explain the "within X% of native" from the link. If this demo is strictly limited by the GPU, then why isn't it as fast as native, period?
Re:Mozilla and Epic Preview Unreal Engine 4 Running in Firefox by mixedbit on Wednesday March 12, 2014 @03:58PM (#7387931)
The X% from the link is not about performance of the demo, but about performance of asm.js: "In less than 12 months, optimizations have increased the performance of Web applications using asm.js from 40% to within 67% of native, and we expect it to get even faster". To me such number doesn't mean much, it most likely refers to some micro benchmark that achieved 67% of native performance.