3 ms·
yes, but the API you'll code against is limited
by jonloldrup 9y ago
yes, but the API you'll code against is limited
- roca 9y agoThat's not really true. With JS glue code (including many libraries already written) Wasm modules can access anything JS can do. E.g. there are Wasm demos showing access to WebGL2, audio generation, camera/microphone, HTTP, storage, gamepads, ...
- TazeTSchnitzel 9y agoYou have the full Web API, yes, but it's limited compared to native, although sure, it's nonetheless very capable.
- camus2 9y 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.
- TremendousJudge 9y ago>nothing a Javascript app in the browser can't do. not being written in Javascript is a great advantage
- livingparadox 9y agoThat'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.