Hacker News new | ask | show | jobs
by markdog12 327 days ago
Yeah, it's very unfortunate for WebGL/WebGPU apps, where every call has to pass/convert typed arrays and issue a js gl call. It pretty much kills any advantage of using WASM. Hope that changes.
2 comments

WebAssembly is the faster option for WebGL applications on the web, not least because you also might want to run things like physics engines:

https://playgama.com/blog/general/boost-html5-game-performan...

All depends on your app, of course. My point is having additional overhead for every gl call is pretty bad.
it's not really significantly bad: https://www.youtube.com/watch?v=4KtotxNAwME
How can you reconcile this with all of the AAA games that have been shown to work well on Wasm+WebGL ? What is different between your usage and theirs?
A quick search shows that there aren't any AAA games that support those platforms. What are you referring to?
Which AAA games run well on Wasm+WebGL?