|
|
|
|
|
by candiodari
3497 days ago
|
|
This is the constant claim from the web community. You can easily find references that there is no reason javascript has to be slower than compiled code from long ago. They all boil down to the sufficiently smart compiler argument. Of course that became well known to be ridiculous. But rhino would change that. asm.js would change that ! V8 will change that ! Native client will change it ! P-nacl will change it ! Of course, for all of these you can find some skewed edge case where someone was able to make a benchmark say the javascript/web version was faster. . It never was faster in practice for any of these. Browsers, after 22 years of optimizations are still far slower than even pretty bad native apps ... And let's just not mention games (not to worry the latest javascript 3d abstraction will change that. Of course) And now webasm will change it - I guess. Well, no, truth be told, I guess not ! |
|
[0]: I'm sure there's a good reason for this decision, I just don't know what it is.