Hacker News new | ask | show | jobs
by camus2 3306 days ago
> E.g. there are Wasm demos showing access to WebGL2, audio generation, camera/microphone, HTTP, storage, gamepads, ...

All web API. nothing a Javascript app in the browser can't do.

2 comments

That's the point. a WASM app has access to the same Web APIs that JS does, for the most part. This was in response to the claim that WASM only gets to work off of a limited api, not an argument as to why WASM is an improvement over JS.
>nothing a Javascript app in the browser can't do.

not being written in Javascript is a great advantage