Chapter 11. WebAssembly text format
This chapter covers
- Creating a WebAssembly text format version of a module
- Compiling the text format code into a binary module using the WebAssembly Binary Toolkit’s online tool
- Linking the Binary Toolkit’s generated module to an Emscripten-generated module
- Building the HTML and JavaScript for the UI aspect of a game
WebAssembly is designed with a binary file format so that the WebAssembly files are as small as possible, allowing for fast transmissions and downloads; this doesn’t mean it’s a way for developers to hide their code. In fact, quite the opposite is true. WebAssembly is designed with the web’s openness in mind. As a result, a text format equivalent of the binary format also exists.
The text ...
Get WebAssembly in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.