Bootstrapping clang/wasm toolchain #22507
vadimkantorov
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Yes, see Emception by @jprendes . That's the best one I'm aware of. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Curious, has anyone tried/succeeded compiling clang/llvm/wasm/emscripten toolchain itself to make an in-browser C compiler able to produce and execute WASM modules directly in-browser?
I found some hobby attempts at writing C-to-wasm compilers from scratch, but if LLVM/Clang itself could be compiled to WASM, this could open way to many more other compilers-in-browser, even if using full Clang for example program C compilation is overkill.
Probably could be interesting for pedagogical purposes / teaching C and alleviating the server costs :)
Beta Was this translation helpful? Give feedback.
All reactions