3 ms·
I don't understand what you are asking for here. Emscriptem doesn't generate C/C++ code, it generates Javascript, which then runs on top of a Javascript execut
by nl 16y ago
I don't understand what you are asking for here.
Emscriptem doesn't generate C/C++ code, it generates Javascript, which then runs on top of a Javascript execution environment (V8 etc).
The real comparison would be some C/C++ code run though this and running in Javascript vs handwritten Javascript.
(It's possible what you mean is a comparison of the generated machine code from LLVM vs that from the Javascript engine. I agree that would be interesting, but I think you'd be better off comparing the machine code generated by a Javascript-on-LLVM implementation such as http://github.com/omo/jsllc http://github.com/omo/jsllc vs that generated by a conventional Javascript runtime.)