3 ms·
I think you're forgetting the gold standard in dynamic languages from the 80s: Common Lisp. It's still around, and it's still faster than almost every other dyn
by eslaught 14y ago
I think you're forgetting the gold standard in dynamic languages from the 80s: Common Lisp. It's still around, and it's still faster than almost every other dynamically typed language out there.
http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=sbcl&lang2=gcc http://shootout.alioth.debian.org/u64/benchmark.php?test=all...
Half of the benchmarks are less than a factor of 2x slower than C, which is better than even GHC can do for Haskell.
Edit: Disclaimer: http://shootout.alioth.debian.org/dont-jump-to-conclusions.php http://shootout.alioth.debian.org/dont-jump-to-conclusions.p...
- CJefferson 14y agoThis code does do 'safety 0', which make lisp much closer to C (no array out-of-bounds checks, no int overflow checks among others). There is no need for LuaJIT to generate completely unsafe code to achieve it's performance.
- omaranto 14y agoWell, dmpk2k did say "with zero type annotations". How does SBCL fare without them?