3 ms·
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 bef
by azakai 5y 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 https://github.com/jprendes/emception (2021)
https://github.com/tbfleming/cib https://github.com/tbfleming/cib (2017)
https://github.com/kripken/llvm.js https://github.com/kripken/llvm.js (2012)
I agree it would be great to see this repl running 100% in the browser!