Back in 2019, WebAssembly (abbreviated Wasm) was in the zeitgeist.
It’s a low-level, portable binary instruction format — and most importantly it allows programming languages like C, C++, and Rust to run in web browsers at near-native performance.
I had to learn more.
Project Notes
| Status | Completed November 2019 |
| Goal | Learn about WebAssembly. Understand how to make C/C++ code run in the Browser. Code some “Hello World” examples and document my findings. |
I always learn best by sharing what I learn, so I chronicled my WebAssembly journey as four lessons:
- Lesson 1: WebAssembly Hello World
- Lesson 2: Graphics with SDL
- Lesson 3: Emscripten Loops
- Lesson 4: File System Access
By the end, I was able to leverage this learning to port Commander Keen to the browser.
I hope you find it useful too!