Go Is the Wrong Language for WASM In a benchmark of the same six programs written in 16 languages and compiled to WebAssembly, Go ran 3.3 times slower than C and shipped a 2.4 MB hello world, of which only 249 bytes were the author's code, according to Stephan Schmidt's December 2, 2026 post. Rust matched C's speed with a 39 KB hello world, while TinyGo without the goroutine scheduler reached 1.4 times C at 79 KB, and JavaScript via QuickJS ran 39 times slower than C. Schmidt measured cold-start times of 0.03 ms for Rust versus 0.48 ms for Go, capping a core at 2,100 Go sandbox starts per second before app code runs. Stephan Schmidt - December 2, 2026 Go Is the Wrong Language for WASM I compiled the same programs from 16 languages to WASM and measured them TL;DR: If an agent writes your WASM apps, let it use Rust: in my test of 16 languages Rust matched C’s speed with a 39 KB hello world, while standard Go took 3.3 times as long and shipped 2.4 MB because its runtime and goroutine support come with every program. If it has to be Go, use TinyGo without the scheduler 1.4 times C, but no goroutines , and measure your own app before you rewrite anything, because database waits can hide the difference and Go on the server is still a good choice. Last year I wrote about why I chose Go over Rust https://www.amazingcto.com/why-we-chose-go-over-rust-for-our-startup/ , but for WASM I’d choose the other way round. I had Claude write the same six programs in 16 languages, compiled them to WASM and ran them on one core of my desktop. Go came out last of the languages that have a compiler, its programs need 3.3 times as long as the ones in C AssemblyScript is right next to it with 3.2 , and its hello world is 2.4 MB, of which 249 bytes are my code. C can run as fast as C, and Kotlin’s hello world is smaller than Rust’s. I measured this because of a sentence in No Code Review. Fuzz Instead. https://www.amazingcto.com/ai-code-review-fuzzing/ , the essay about AppOS, which is one way to let marketing ship to production and puts every app into a sandbox I use WASM, but it’s one option of several for the sandbox . I wrote there that you can compile Rust, Go with TinyGo and C to WASM and that JavaScript and Python bring their interpreter along, “so the agent writes the app in the language it writes best” . The only speed I had measured was Rust’s. Naive me would have thought the language would not matter, execution time in WASM is roughly the same, as is the size of the compiled file. Boy was I wrong. What do you ship with a hello world? WASM knows numbers, functions and a block of memory, and everything else your language needs has to be in the file, the garbage collector, the scheduler for goroutines, the code that prints a stack trace, and for Python the whole of Python. The engine that runs the file Wasmtime on a server, V8 in your browser gives you none of that, except for garbage collection in newer engines. In the Amiga days I played opcode puzzle to get as much code as possible into the 1024 bytes of a boot sector which even made it into a magazine . The hello world in C is 2.6 KB, so two and a half of those boot sectors. The one in Go doesn’t fit on an Amiga floppy with its 880 KB, you’d need three of them. This is the size next to the run time, with C as 1.0