4 ms·
> It's quick for the same reason JavaScript is quick - a lot of work and money has been spent creating fast compilers. It's also quick because the language is
by mmarx 11y ago
> It's quick for the same reason JavaScript is quick - a lot of work and money has been spent creating fast compilers.
It's also quick because the language is designed to enable compilers to generate fast code. In indexed (for-style) loops, for example, the loop body cannot change the loop variable, aiding unrolling and/or vectorization.