This isn't the usual use case, so I wasn't really answering this problem.
For such a game, the problem is also less the language (but it matters, yes) than the underlying solution to render on screen. Even with webassembly you still have no direct access to low level primitives, best you can do is using webgl.
This isn't the usual use case, so I wasn't really answering this problem.
For such a game, the problem is also less the language (but it matters, yes) than the underlying solution to render on screen. Even with webassembly you still have no direct access to low level primitives, best you can do is using webgl.
Well, I see it as the main problem webassembly is solving...
Since as you mentioned already, most apps are slow cuz of bad code.
But webassembly is here to let you write desktop-like performant apps/games.
Here are some discussions in this regard: github.com/WebAssembly/WASI/issues/53