|
|
|
|
|
by azakai
5299 days ago
|
|
> Emscripten is not a viable alternative. The Javascript it generates is too slow for performance intensive things Is 3-4X slower than native code "too slow"? Those are the results right now. And it will be much faster as JS engines continue to improve. |
|
Think about it this way: "4x slower than native code" means that 80% of the CPU's cycles are being spent on the platform.
With NaCl, it becomes possible to instead spend most of those cycles on extra application richness without sacrificing the customer experience by requiring an installer or plugin.