Learn WebAssembly by writing small programs

Watlings is a project aimed at learning the WebAssembly text format by fixing various small programs. The project is currently incomplete and in active development, so contributions are welcome in the form of filing issues and creating pull requests. To use the project, you need Node 16+ and NPM for compilation and testing. Simply clone the repository and install the dependencies. There is an option to use the official WebAssembly Binary Toolkit, which provides a CLI tool called wat2wasm for syntax highlighting and up-to-date builds. The recommended editor to use is VSCode with the WATI extension, which offers helpful features as you work through the exercises. The author’s motivations for creating this project are to fill educational gaps in the WebAssembly landscape and provide a structured learning experience. They believe in learning by doing and emphasize coding over reading. The author encourages creating struggle in the learning process to enhance effectiveness and intentionality. Overall, the project credits the inspiration from Rustlings and Ziglings for its approach.

https://github.com/EmNudge/watlings

To top