Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Performance: NaCl vs Emscripten [closed]

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

like image 982
grzkv Avatar asked Apr 23 '26 05:04

grzkv


1 Answers

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.

like image 75
Multimedia Mike Avatar answered Apr 25 '26 18:04

Multimedia Mike



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!