4 ms·
Using the LLVM toolchain, thus probably better performance and language support? I'd like to see the benchmarks before assuming that, but if this leads to lett
by Filligree 13y ago
Using the LLVM toolchain, thus probably better performance and language support?
I'd like to see the benchmarks before assuming that, but if this leads to letting me use Haskell in the browser, I'll be all over it.
- mccr8 13y agoMost asm.js is generated using Emscripten, which is also based on LLVM. I guess the backend optimizations will be different.
- eliben 13y agoThe PNaCl bitcode can serve as the output of any compiler. Google currently provides toolchains for C and C++, but folks have been working on Go ports, Lua, Python etc. Haskell, in fact, already has a LLVM backend so porting that to emit PNaCl bitcode should not, in theory, be overly hard.
- sanxiyn 13y agoDoesn't Haskell's LLVM backend depend on custom LLVM calling convention to do tail call? Does PNaCl bitcode support tail call?