Re:What if JavaScript wins?
by danield9tqh on Wednesday May 16, 2018 @01:53PM
(#17084684)
I think that's fine because WASM isn't meant to write code in. It's just a source language for other compiled languages. I'm assuming the javascript complaints you're talking about are because people actually have to write javascript code?
[ Parent
| on HN ]
Re:What if JavaScript wins?
by captainbland on Wednesday May 16, 2018 @02:28PM
(#17085095)
Even then I don't think they would tie it to the WASM definition that tightly as they intend it to be used on other platforms than just web browsers. It seems to me that you could just have the DOM be expressed as a kind of interface which the browser implements, and then each language just has a DOM library which exposes that interface to the programmer.
Re:What if JavaScript wins?
by abritinthebay on Wednesday May 16, 2018 @04:53PM
(#17086390)
Right, I agree but every time someone talks about tighter integration with the browser it really, under the hood, requires DOM access.
Because it does basically everything else (or is spec'd to).