Re:Qt for WebAssembly
by johncolanduoni on Tuesday June 19, 2018 @11:29PM
(#17352349)
Then it wouldn't be "doing its rendering in WebAssembly". Even if you use that term very broadly, at the moment WebAssembly can't even interact with the DOM without going through JavaScript.
Re:Qt for WebAssembly
by TimTheTinker on Wednesday June 20, 2018 @02:02AM
(#17352953)
> at the moment WebAssembly can't even interact with the DOM without going through JavaScript.
Sounds like a good proposal for the WHATWG.
Sure there is - put the text in the DOM.
WebAssembly is just a runtime, it has nothing to do with whether you display your stuff in Canvas or via the DOM.
If you were writing an app in Javascript, you wouldn't bundle a text engine into it and then bypass the DOM for all of your rendering. Why is WebAssembly different?