News for hackers. Stuff that matters.
Re:Hello wasm-pack by ridiculous_fish on Wednesday April 18, 2018 @04:27PM (#16870860)
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.
Re:Hello wasm-pack by rickycook on Wednesday April 18, 2018 @06:29PM (#16871821)
plenty of typed languages have reflection. i don’t see how this changes anything?
Re:Hello wasm-pack by ridiculous_fish on Wednesday April 18, 2018 @10:51PM (#16872992)
WASM 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.

Re:Hello wasm-pack by steveklabnik on Wednesday April 18, 2018 @11:37PM (#16873152)
> WASM is not a typed language. It is a language-agnostic compilation target.

These two things aren't contradictory. wasm is typed.