WebAssembly concepts - WebAssembly | MDN
This article explains the concepts behind how WebAssembly works including its goals, the problems it solves, and how it runs inside the web browser's JavaScript engine.developer.mozilla.org
By itself, WebAssembly cannot currently directly access the DOM; it can only call JavaScript, passing in integer and floating point primitive data types. Thus, to access any Web API, WebAssembly needs to call out to JavaScript, which then makes the Web API call. Emscripten therefore creates the HTML and JavaScript glue code needed to achieve this.
I use JavaScript in my web applications almost only for dynamically manipulating the DOM according to responses to AJAX requests. All the heavy lifting, e.g. site wide searching, math simulations of differential equations depending on user entries, signal measurements, FFT, and generation of SVG plots etc., is done by C subroutines on the server. Now, I conclude, that WebAssembly is not only inefficient and clumsy, it is a non-solution of a non-problem. It is absolutely useless.
It reminds me of Flex...