4 ms·
Yes, and a high-level scripting language can in some specific circumstances be made to run code faster than a low-level compiled language. Generally, it's the o
by vanviegen 2mo ago
Yes, and a high-level scripting language can in some specific circumstances be made to run code faster than a low-level compiled language. Generally, it's the other way around though.
- dataflow 2mo agoThis feels like a strawman and doesn't really attempt to answer my question. These kinds of broad generalizations really need good evidence/citation.
- vanviegen 2mo agoBoth parts of your comment lean on a sufficiently smart compiler to make up for recursion's natural disadvantage in maintaining locality of reference and performance. Sure, some compilers can bridge the gap in some cases (by transpiling your recursive code to an ittertive approach).