Writing Hello World in Web Assembly (2017)

Writing Hello World in Web Assembly (2017)

Web Assembly was recently decided to be a finished MVP including

Web Assembly is written in an s-expression syntax (wast) and then needs to be translated down to binary encoded wasm. Below is a gist of wast that imports the function taking a memory location offset and a length, as well as importing a block of memory from the controlling runtime. In order to run the wast we’ll need to turn into binary encoded wasm.

Source: wa9ace.net