2 ms·
> Wasm interacts with the page just like JS does. It doesn't. Any interaction with the page happens through a JS bridge. > Wasm fits in with semantic web cont
by troupo 3y ago
> Wasm interacts with the page just like JS does.
It doesn't. Any interaction with the page happens through a JS bridge.
> Wasm fits in with semantic web content to the same extent that JS does.
It doesn't. It's a VM that runs side by side and only has a tiny window into the rest of the browser through arrays of integers passed between it and Javascript.
- paulgb 3y ago> Any interaction with the page happens through a JS bridge. Right. The point I’m trying to make is that Wasm can only interact with the user through those JS APIs. This is in direct contrast to Java/Flash, which could directly render on the screen with an API that bypassed the browser’s JS layer.