3 ms·
Or you can just compile to web assembly and ignore the Javascript. Compiling down to a high level language which, itself, can often be a bit surprising or even
by jbjohns 7y ago
Or you can just compile to web assembly and ignore the Javascript. Compiling down to a high level language which, itself, can often be a bit surprising or even ambiguous has always struck me as an approach of last resort. And it's not really our last resort anymore.
- meheleventyone 7y agoRight now you can’t ignore JS even with Wasm you still need to marshall data back and forth to do anything interesting.
- ficklepickle 7y agoOr do anything with the DOM. To put anything on the screen in an accessible fashion, you will still need JS with your WASM. You can draw to a canvas with minimal JS, but lose text search, highlighting text, copy/paste and screen reader compatibility, to name a few.