4 ms·
At first one should expect it to be at most as fast as cpython. If you don't do type inference and a bunch of other advanced functional language friendly optimi
by densh 14y ago
At first one should expect it to be at most as fast as cpython. If you don't do type inference and a bunch of other advanced functional language friendly optimizations you will get quite poor performance compared to JVM. Even haskell which does a lot of those isn't overperforming JVM yet. (Memory usage is much better though.)
http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=ghc http://shootout.alioth.debian.org/u64/benchmark.php?test=all...
- dons 14y agoAnd now we can look forward to 20 years of research on very fast runtimes for executing Clojure ... http://research.microsoft.com/apps/pubs/default.aspx?id=79856 http://research.microsoft.com/apps/pubs/default.aspx?id=7985...
- igouy 14y ago>>Memory usage is much better though.<< "Don't confuse differences in default memory allocation with differences in Memory-used when the task requires programs to allocate more than the default memory." Look at memory use for reverse-complement, k-nucleotide, regex-dna, binary-trees, mandelbrot.