Re:Calls between JavaScript and WebAssembly are finally fast
by rafaelvasco on Tuesday October 09, 2018 @01:50PM
(#18178181)
For 2D games it's much more convenient to pixel push directly than to deal with vertex buffers, index buffers, shaders... Unfortunately graphics cards are not optimized for that scenario.
[ Parent
| on HN ]
Re:Calls between JavaScript and WebAssembly are finally fast
by bschwindHN on Tuesday October 09, 2018 @09:02PM
(#18181129)
Convenient, but "super fast"?
And though it's a matter of opinion, I disagree. The GPU is easier for me to use for things like screen-space shading, alpha blending, sprite transformations and distortions, and it all performs much faster than the equivalent CPU render code.