November 2019
Intermediate to advanced
448 pages
15h 6m
English
A browser’s JavaScript engine monitors the code until it’s satisfied it knows the variable types before it can convert that section of JavaScript into machine code.

With WebAssembly, your code is compiled into the WebAssembly binary format ahead of time. Because the variable types are all known in advance, when the browser loads the WebAssembly file, the JavaScript engine doesn’t need to monitor the code. It can compile the binary format straight into machine code.

Read now
Unlock full access