HN2new | past | comments | ask | show | jobs | submitlogin

Emscripten in no way emulates LLVM (as far as I know it's the only C-to-JS compiler that uses LLVM, and hence must be what you're referring to!) — it compiles LLVM to JS, with no emulation, and there's currently work going on to re-implement it as a LLVM backend (it currently is an entirely separate codebase that takes LLVM bitcode in and spits JS out).


My mistake, I thought Emscripten was an LLVM VM in JS. I'll take a look at it to see what the output actually does.


Looking at issues in https://github.com/kripken/emscripten/wiki/Filesystem-Guide it seems to be there would be a big win in having an LLVM VM - you'd be able to have synchronous IO and have threads.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: