2 ms·
The benchmark (perhaps intentionally) doesn't test the most important thing when we want to compare "language speed": the efficiency of abstractions. The benchm
by pron 11y ago
The benchmark (perhaps intentionally) doesn't test the most important thing when we want to compare "language speed": the efficiency of abstractions. The benchmark has no abstractions at all other than a simple, single-target, function call that most compilers (whether AOT or JIT) would inline. Interesting language comparisons test the languages' core abstractions like as virtual dispatch/pattern matching.
- caf 11y agoIt tests one other thing - a recursive function call that is amenable to tail-call optimisation.