please enjoy: my Wasm-hosted, Wasm-targeting build of Clang/Clang++/LLD: a self-contained, 25 MiB (gzipped) pure function
https://www.npmjs.com/package/@yowasp/clang
here's how you can use it to "just-in-time" compile and run any C (or C++) code you'd like:
you can also compile executables using printf(), fopen(), etc; indeed in theory you could bootstrap (recompile) LLVM using this very compiler! although CMake makes it fairly annoying to figure out how to run it

this C compiler is really fast! it can compile and link a simple C program in ~65 ms on my machine. (this involves spawning three Wasm "processes")

on the same machine, running the same command with a very similar Clang build natively takes ~80 ms.

this is fast enough for update-as-you-type live coding!

@whitequark Be careful, someone's gonna try to compile the linux kernel with that in hope it's gonna be faster