Part VII

Compiling to WebAssembly

The earlier parts described the machine one feature at a time. This part looks at it from the compiler's side. The first chapter goes through the decisions involved in mapping a language onto WebAssembly, from scalar types to calling conventions to coroutines, with a worked example. The second explains how engines turn a module into machine code, and what that means for the code your compiler should emit.

  1. 24Mapping a Language onto WebAssembly
  2. 25Performance