By all accounts, both OCaml and Haskell have reasonably efficient compilers and runtimes for just about anything. The choice between them on the basis of pure performance seems to me stupid. You have gone so far - moved away from the most obviously low-level and advanced languages ββ(C, C ++, etc.) in the name of a clearer, more concise, more expressive code of a higher level. So why, when the differences in performance are much smaller, go to these criteria now?
I would go with broader criteria - if you want to spread parallelism, then Haskell is the best choice. If you want a truly ubiquitous mutation, then OCaml is better.
If you need only very crude parallelism at best, and you intend to adhere mainly to functional structures, then choose based on something else, such as syntax (I think Haskell is much nicer here, but it's subjective) or the available libraries ( Haskell wins in terms of quantity / availability, but OCaml may refuse this in the graphics department, however).
I do not think that you are mistaken anyway
sclv Nov 30 '10 at 4:38 2010-11-30 04:38
source share