4 ms·
Are there DOM bindings for languages other than JavaScript or is WebAssembly only for backend/webservices?
by pmontra 10y ago
Are there DOM bindings for languages other than JavaScript or is WebAssembly only for backend/webservices?
- Matthias247 10y agoAs far as I understand you can call JS APIs from WebAssembly, which means you use the already available DOM APIs. I don't know exactly what the calling convention from WASM to JS looks like, but I guess it's specified somewhere.
- TheCycoONE 10y agoThere are a few, none of them optimal for DOM manipulation yet because they all involve calling javascript. There is plans to add wasm dom hooks eventually. https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html https://kripken.github.io/emscripten-site/docs/porting/conne...