3

How does Google's native client (both NaCl and PNaCl) compare to Emscripten in ported C++ code performance?

grzkv
  • 2,599
  • 3
  • 26
  • 37

1 Answers1

4

The best way to find out is to port something and profile. I have done work with both systems, porting CPU-intensive C/C++ libraries to both NaCl and JS-via-Emscripten. I have found both to be remarkably performant. Not exactly the same as compiled C/C++, but fast enough that they can accomplish their tasks in real-time.

Multimedia Mike
  • 12,660
  • 5
  • 46
  • 62