3 ms·
This is really awesome, good work! We did a similar thing running Clang on the browser, which is now uploaded to WAPM: https://wapm.io/syrusakbary/clang https:
by syrusakbary 5y ago
This is really awesome, good work!
We did a similar thing running Clang on the browser, which is now uploaded to WAPM: https://wapm.io/syrusakbary/clang https://wapm.io/syrusakbary/clang
- hobo_mark 5y agoExcellent, I wonder if using a two year old LLVM fork is still required, wasm support should be in trunk by now.
- syrusakbary 5y agoRunning Clang with WASI requires compiling LLVM to WASI first, which unfortunately currently requires a fork (because of the "hackyness" of it, as some syscalls are mocked or certain code is just skipped). This talk from Ben Smith goes into a bit more depth on what was required to change on LLVM to compile to WASI: https://www.youtube.com/watch?v=5N4b-rU-OAA https://www.youtube.com/watch?v=5N4b-rU-OAA