3 ms·
Running this on the client side would require a C++ compiler in javascript, right? I don't know much about web dev.
by epi8 12y ago
Running this on the client side would require a C++ compiler in javascript, right? I don't know much about web dev.
- DannyBee 12y agoOr compiling gcc to nacl/asm.js
- azakai 12y agoYes, there are demos of such things. For example, these two: http://kripken.github.io/clangor/demo.html http://kripken.github.io/clangor/demo.html http://kripken.github.io/llvm.js/demo.html http://kripken.github.io/llvm.js/demo.html A bit old by now, but the first compiles C++ into LLVM IR, the second LLVM IR into JS and runs it. All of that happens clientside.