WebAssembly from the Ground Up
9 comments
·November 15, 2025gurjeet
I don't remembering submitting it today; it must be from the second-chance pool. Good to see my submission on the frontpage, though :-)
gurjeet
Yup, as suspected, I had submitted it 5 days ago [1], but here it shows as submitted 2 hours ago. But I don't see it in the second-chance pool [2], perhaps because it has graduated out of there to the frontpage.
[1]: https://news.ycombinator.com/submitted?id=gurjeet [2]: https://news.ycombinator.com/pool
skybrian
Is there a Github repo for code associated with this book?
pdubroy
Yes, it can all be found here: https://github.com/wasmgroundup/code
Over the course of the book, we also build up a small library for creating Wasm modules and emitting bytecode; that's available as an NPM package (https://www.npmjs.com/package/@wasmgroundup/emit) and the code is here: https://github.com/wasmgroundup/emit
chasil
I like PHP because it allows access to core system calls on any platform.
I see runtime interpreters as constraining when a system call is needed, but proscribed.
patrick4urcloud
nice job
Hi HN! Co-author of the book here, happy to answer any questions you have.
Beyond the sample chapters which are linked from the landing page, we also have a couple blog posts which may be interesting:
- A WebAssembly Interpreter: https://wasmgroundup.com/blog/wasm-vm-part-1/
- An older blog post, "A WebAssembly compiler that fits in a tweet" (https://wasmgroundup.com/blog/wasm-compiler-in-a-tweet), was also on HN earlier this year: https://news.ycombinator.com/item?id=42814948