News for hackers. Stuff that matters.
Re:Cling: Running C++ in an interpreter by gsnedders on Sunday August 12, 2012 @10:11PM (#4374308)
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).
Re:Cling: Running C++ in an interpreter by sedachv on Sunday August 12, 2012 @10:56PM (#4374408)
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.
Re:Cling: Running C++ in an interpreter by sedachv on Monday August 13, 2012 @08:40PM (#4378864)
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.