Re:When Is WebAssembly Going to Get DOM Support?
by markdog12 on Wednesday July 23, 2025 @01:25PM
(#44661701)
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.
[ Parent
| on HN ]
Re:When Is WebAssembly Going to Get DOM Support?
by breve on Wednesday July 23, 2025 @01:43PM
(#44661894)
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...
Re:When Is WebAssembly Going to Get DOM Support?
by markdog12 on Wednesday July 23, 2025 @01:45PM
(#44661919)
All depends on your app, of course. My point is having additional overhead for every gl call is pretty bad.
Re:When Is WebAssembly Going to Get DOM Support?
by tcfhgj on Wednesday July 23, 2025 @05:45PM
(#44664375)
it's not really significantly bad: https://www.youtube.com/watch?v=4KtotxNAwME
Re:When Is WebAssembly Going to Get DOM Support?
by sitkack on Wednesday July 23, 2025 @01:48PM
(#44661947)
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?
Re:When Is WebAssembly Going to Get DOM Support?
by snapcaster on Wednesday July 23, 2025 @02:03PM
(#44662147)
A quick search shows that there aren't any AAA games that support those platforms. What are you referring to?