3 ms·
Can you speculate on what these APIs will look like? JS is well suited for dealing with cross-browser incompatibilities because of its reflection support. That
by ridiculous_fish 9y ago
Can you speculate on what these APIs will look like? JS is well suited for dealing with cross-browser incompatibilities because of its reflection support. That is much harder to build in a low-level target like WASM. COM is an example of what we might get, and that is not a pleasant prospect.
- rickycook 9y agoplenty of typed languages have reflection. i don’t see how this changes anything?
- ridiculous_fish 9y agoWASM is not a typed language. It is a language-agnostic compilation target. So what would a DOM API exposed to WASM look like? COM is the only example that comes to mind.
- steveklabnik 9y ago> WASM is not a typed language. It is a language-agnostic compilation target. These two things aren't contradictory. wasm is typed.