nowfound

Life & fun · March 12, 2025

WebAssembly from the Ground Up – learn WASM by building a compiler

Hi HN! We (pdubroy & marianoguerra) just launched an online book called WebAssembly from the Ground Up. It's an online book to learn Wasm by building a simple compiler in JavaScript. This is the book we wish we'd had 3 years ago. Unlike many WebAssembly resources that focus on use cases and tooling, we wanted a deep dive into how Wasm actually works. We focus on the core of WebAssembly: the module format and the instruction set. We think the low-level details — the "virtual ISA" — are the most interesting part, and we had the crazy idea that writing a compiler is the best way to learn it.…

WebAssembly from the Ground Up – learn WASM by building a compiler launched on March 12, 2025 with 7 votes and more than 75% of that year's launches. The site was still online in September 2026, 1 year on.

What it does

A book about WebAssembly — learn Wasm by building a simple compiler in JavaScript.

Find out how WebAssembly works and why it's a big deal. You'll go from hand crafting bytecodes to writing a compiler for a toy programming language. No compiler expertise necessary. All the code is in the book; we'll take you through it step by step. Forget the hype — get your hands dirty and see for yourself what WebAssembly is all about. To really understand what WebAssembly is and what makes it special, you need to dive into the low-level details. We use a hands-on approach to teach you the core of WebAssembly: the instruction set and the module format. Since WebAssembly is primarily a compilation target, we think the best way to learn the details is by writing a compiler. (Really.)…from wasmgroundup.com

In the maker’s words, at launch

Hi HN! We (pdubroy & marianoguerra) just launched an online book called WebAssembly from the Ground Up. It's an online book to learn Wasm by building a simple compiler in JavaScript. This is the book we wish we'd had 3 years ago. Unlike many WebAssembly resources that focus on use cases and tooling, we wanted a deep…

Does a similar job

all alternatives →
  • IW
    I wrote a book about WebAssembly2019 · ▲410

    Hey HN! I've been working on a book about WebAssembly over the last few months, and it's finally available at http://levelupwasm.com! Why a book on WebAssembly you ask? Well... WebAssembly is awesome (obviously ) but it's certainly not the easiest thing to learn. So I wrote this book as a practical intro to using WebAssembly in your web apps. I would appreciate any feedback!

  • Wrote a tiny WebAssembly (wat2wasm) compiler in Go2022 · github.com · ▲75

    As a personal project I wrote a really tiny Wat 2 Wasm compiler in Go. Mainly for demonstrative and educational purposes. It was tough: I didn't know anything about WebAssembly internals and I'm a newbie with Go... so I tried to document it as much as I could for anyone that would like to approach the quest in the future! It misses a lot of features (that will be gradually implemented). Any feedback is welcomed!! Demo: https://luna-demo.vercel.app

  • Jaws – a JavaScript to WASM ahead-of-time compiler2024 · github.com · ▲290

    I've open sourced a JavaScript to WASM compiler. It's an experimental tool, but given the semantics I already implemented, I'm fairly certain I am able to eventually cover 100% of JavaScript spec. Any ideas, questions or critique welcomed! If you are interested in WASM, especially with new proposals like WASM GC or exception handling, it might be a good source of seeing these features in action - the project has a few thousand lines of hand written WAT so far.

  • Compiling C in the browser using WebAssembly2024 · wasmer.io · ▲174

    We’ve reached a major milestone in making any software run with WebAssembly. Thanks to the newest release of Wasmer (4.4) and the Wasmer JS SDK (0.8.0) ...

  • I wrote a WebAssembly Interpreter and Toolkit in C2023 · github.com · ▲105

    Web49: WebAssembly Interpeter. Contribute to FastVM/Web49 development by creating an account on GitHub.

  • AE
    An Easy Programming Language – Built with WebAssembly2019 · easyprog.online · ▲144

    easyprog.online ist Ihre erste und beste Informationsquelle über easyprog. Hier finden Sie auch weitere interessante Links. Wir hoffen, dass Sie bei Ihrer Suche erfolgreich sind!

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, March 2025

the whole month →
  • Mimic Human Research & Save Findings in AI Knowledge Base

    AI · 2025 · sider.ai

  • Turn your ideas into products that sell

    AI · 2025 · atoms.dev

  • Aha▲1,152

    The world's first AI influencer marketing team

    AI · 2025 · ahacreator.com

  • Fluently▲976

    Start speaking English as well as your native language

    AI · 2025 · getfluently.app

  • Conversational AI surveys, interviews, user tests, polls

    AI · 2025 · theysaid.io

  • Record your screen, share instantly, look like a PRO

    Growth · 2025 · supercut.ai