Hacker News new | ask | show | jobs
by azakai 1665 days ago
It takes some work (mostly due to LLVM building code to run later in its build system as it goes), but it's very feasible. LLVM has been ported to Wasm (and before that to JS) many times, for example:

https://github.com/jprendes/emception (2021)

https://github.com/tbfleming/cib (2017)

https://github.com/kripken/llvm.js (2012)

I agree it would be great to see this repl running 100% in the browser!