Introduction
The goal of this post is to provide basics of Web Assessmbly (abbreviated “Wasm”), so the next time you encounter it, you will be able to understand it and test it.
I will not cover all the available instructions as documentation exists for that (see a bit below), but I will try to give you the keys to understand any Wasm code.
Documentation
The documentation for all the instructions in Wasm is available here: https://github.com/sunfishcode/wasm-reference-manual/blob/master/WebAssembly.md
Moreover, a good picture of how to write Wasm code can be found here:
https://learnxinyminutes.com/docs/wasm/
If there is documentation, why this post?
It’s simple:
- Not everybody has basics on how to read assembly code and the tools to handle Wasm are not numerous
- The mentioned documentation (which is the official one) is, in my opinion, not the most comprehensive one.
So the goal is to address these two points.
Read more