June 2021
Intermediate to advanced
304 pages
7h 49m
English
This chapter will help you understand how WebAssembly interacts with the DOM through JavaScript. Although it might seem cumbersome, it’s a necessary evil to understand WebAssembly and its strengths and weaknesses. If you’re using a WebAssembly toolchain, you need to know how much additional code that toolchain will generate as JavaScript glue code. From this point forward, most of the examples will run from a web page instead of using node from the command line.
We’ll begin by creating a simple static web server using Node.js. WebAssembly web applications cannot be loaded directly from the filesystem in a web browser; ...
Read now
Unlock full access