3 ms·
Will be a huge pain in the ass. Go's compiler uses Plan 9, and WebAssembly uses LLVM.
by frame_perfect 11y ago
Will be a huge pain in the ass. Go's compiler uses Plan 9, and WebAssembly uses LLVM.
- adrusi 11y agoThere is llgo[1] which is an implementation of go on top of the llvm toolchain. But if I'm not mistaken, WebAssembly won't accept just any llvm bitcode. It's similar to how emscripten will work with the bitcode that clang outputs, but not other llvm compilers like rust or ghc. [1]: http://llvm.org/svn/llvm-project/llgo/trunk/README.TXT http://llvm.org/svn/llvm-project/llgo/trunk/README.TXT