This Wasm interpreter fits in a QR code

49 points by goldstein


irreducible

Very cool! This is my first time hearing about the Lime1 feature set. I jumped straight to WebAssembly 2.0 for my VM, which was the current spec version at the time. I probably would have started with Lime1 had I known about it.

rrampage

This is incredible! Enjoyed reading through the devlog. I can relate to the pains of squeezing a binary into a QR code as I made a Snake game to fit in a QR (for x64 and ARM64 Linux) and writing a WASM interpreter. I found Zig easier to coax into outputting tiny binaries (without getting into linker scripts). The linked Crinkler blog is quite informative too.

DanielleMaywood

Nice! I'm curious how small you could make a Wasm 3.0 spec compliant interpreter. I imagine it'll probably be quite a bit larger than this due to recent additions (such as WasmGC)