Haskell GHC versus OCaml fastest programs Always look at the source code. These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you. regex-redux source secs mem gz busy cpu load Haskell GHC 1.68 308,212 2213 3.92 46% 77% 44% 66% OCaml 25.23 901,944 637 27.09 4% 1% 100% 3% fasta source secs mem gz busy cpu load Haskell GHC 1.40 8,020 1882 4.16 74% 74% 74% 75% OCaml 6.00 199,124 1189 6.32 100% 1% 1% 4% spectral-norm source secs mem gz busy cpu load Haskell GHC 4.09 4,184 987 16.03 98% 99% 99% 97% OCaml 15.70 3,704 377 16.86 100% 3% 5% 0% mandelbrot source secs mem gz busy cpu load Haskell GHC 5.06 37,660 1975 20.09 98% 100% 100% 100% OCaml 14.02 5,048 717 55.89 99% 100% 100% 100% pidigits source secs mem gz busy cpu load Haskell GHC 1.76 6,516 1694 1.79 0% 1% 1% 99% OCaml 1.76 6,056 593 1.98 100% 6% 3% 4% n-body source secs mem gz busy cpu load Haskell GHC 21.87 4,388 1883 86.43 98% 100% 98% 99% OCaml 21.67 1,368 1251 23.26 3% 1% 100% 4% fannkuch-redux source secs mem gz busy cpu load Haskell GHC 18.64 4,392 842 73.68 97% 99% 99% 100% OCaml 16.37 19,584 1004 65.39 100% 100% 100% 100% binary-trees source secs mem gz busy cpu load Haskell GHC 13.41 450,148 592 49.72 93% 92% 96% 90% OCaml 9.89 152,992 751 28.64 49% 64% 98% 79% k-nucleotide source secs mem gz busy cpu load Haskell GHC 36.99 639,092 1486 130.13 89% 87% 88% 88% OCaml 21.32 255,548 1833 59.79 91% 48% 100% 42% reverse-complement source secs mem gz busy cpu load Haskell GHC 6.59 501,560 1020 9.74 92% 15% 19% 22% OCaml 3.74 33,944 1368 8.90 62% 58% 60% 59% Haskell GHC The Glorious Glasgow Haskell Compilation System, version 8.8.1 OCaml The OCaml native-code compiler, version 4.10.0 all Haskell GHC programs & measurements all OCaml programs & measurements