2 ms·
I am not by any means an expert in compilers/language design. But apparently according to this talk [1] dynamic typing is not the reason JS and other dynamic la
by argonaut 13y ago
I am not by any means an expert in compilers/language design. But apparently according to this talk [1] dynamic typing is not the reason JS and other dynamic languages are slow, given the optimizations that effectively "solve" that problem.
I would guess that both 1) metaprogramming, and 2) lack of low-level memory management contribute more to the fact that JS is slower than dynamic typing.
[1]https://speakerdeck.com/alex/why-python-ruby-and-javascript-are-slow https://speakerdeck.com/alex/why-python-ruby-and-javascript-...