News for hackers. Stuff that matters.
Re:How JavaScript Works: the evolution of graphics by oaiey on Saturday July 17, 2021 @06:14AM (#27864790)
No word about WebAssembly and ASM.js. That is a key player for modern usage of canvas etc.
Re:How JavaScript Works: the evolution of graphics by paulgb on Saturday July 17, 2021 @06:18AM (#27864817)
Are there any good graphics-specific benchmarks out there? I was under the impression that in modern browsers JS is fast enough that it’s the drawing side (canvas or webgl) that dominates the frame rendering time, and that as long as JS is fast enough to keep the GPU’s queue saturated, CPU performance gains don’t help. But I’m a huge fan of WebAssembly, so I’d be glad to be proven wrong.
Re:How JavaScript Works: the evolution of graphics by oaiey on Saturday July 17, 2021 @08:11AM (#27865247)
I do not know either. I just expect that the traditional game engine runtimes compile to WebAssembly.