News for hackers. Stuff that matters.
Re:Cheerp 1.2 – C++ to JavaScript: faster than Emscripten wi... by Wenris on Tuesday February 02, 2016 @02:16PM (#11021706)
Is it possible to embed llvm into the v8 engine? If so, all we need to do is to compile c/c++ codes into llvm byte codes, then import it as js modules, like this: `import {LibSass} from './libsass.bin'`.
Re:Cheerp 1.2 – C++ to JavaScript: faster than Emscripten wi... by IvanK_net on Tuesday February 02, 2016 @02:24PM (#11021769)
It is possible, but I am not sure if LLVM is that "open" and "free", so we can make a web standard out of it. I think Web Assembly will be the similar thing (low-level code for a browser).