4 ms·
> It's really slow (unusable) at the moment due to, I reckon, being on HN. Do revisit it later! Unfortunate. Running this on the client side would avoid that,
by azakai 13y ago
> It's really slow (unusable) at the moment due to, I reckon, being on HN. Do revisit it later!
Unfortunate. Running this on the client side would avoid that, I wonder if they considered that option.
- epi8 13y agoRunning this on the client side would require a C++ compiler in javascript, right? I don't know much about web dev.
- DannyBee 13y agoOr compiling gcc to nacl/asm.js
- azakai 13y 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.
- mattgodbolt 13y agoI haven't considered that: porting the variety of compilers to Javascript is a bit tricky. Plus the closed-source Intel compiler wouldn't be an option. It's an interesting thought though!