Re:Bringing asm.js to the Chakra JavaScript engine in Window...
by ndesaulniers on Wednesday February 18, 2015 @07:34PM
(#9071817)
I've been playing around with compiling small subsets of JS to C++, then running it back through emscripten.
It works, but you have to keep the subset small, otherwise you end up implementing a meta circular interpreter. The problem will be that the subset is never the subset that pleases everyone. When your implementation doesn't support one person's code, it's labeled 'crap', and the negative cheerleading begins.
It works, but you have to keep the subset small, otherwise you end up implementing a meta circular interpreter. The problem will be that the subset is never the subset that pleases everyone. When your implementation doesn't support one person's code, it's labeled 'crap', and the negative cheerleading begins.