WebAssembly from Scratch: From FizzBuzz to DooM.
Last updated Jun 26, 2026
1.6k
Stars
77
Forks
4
Issues
0
Stars/day
Attention Score
51
Language breakdown
C++ 58.8%
C 35.9%
Assembly 1.9%
Rust 1.8%
Makefile 0.7%
WebAssembly 0.3%
โธ Files
click to expand
README
WebAssembly from Scratch: From FizzBuzz to DooM
Exploring WebAssembly from scratch from a backend-person-point-of-view. A story in four acts.
Welcome to my journey where I will explore some WebAssembly. We will start from scratch. My goal is to look at everything bottom-up, without much magic tooling or frameworks on our way. In this article, I prefer to build everything as much from scratch as possible.
Non-goal: We will not implement our own WebAssembly interpreter or runtime, but use existing ones, e.g., wabt or the Chrome and Firefox browsers.
- Part 1) Introduction to WebAssembly
- Part 2) Implementing FizzBuzz with WebAssembly by Hand
- Part 3) Implementing FizzBuzz in Rust and Compiling to WebAssembly
- Part 4) Porting 1997 DooM to WebAssembly from Scratch
Demo at
Play doom at
๐ More in this category