Substrate brings Racket-style macros to WebAssembly and compiles at 47k lines per second

Substrate: A Lisp for WebAssembly

Substrate is a Lisp for WebAssembly that pairs C-like low-level control with hygienic macros, letting developers define new languages and DSLs as importable libraries. Its self-hosted compiler builds itself in about a quarter second, compiles roughly 47k lines per second, and produces Wasm that runs within about 1.4× of C. Programs are sandboxed by default, and the compiler even runs in the browser.

Substrate is an answer to a broader question: how will programming change in the era of LLMs?

More from this day

2026-11-21