Hacker News new | ask | show | jobs
by rjeli 4001 days ago
Do you know why Jane Street chose OCaml over Haskell? They have similar performance, right?
3 comments

I'd guess because OCaml is a bit more traditional. It's strict and has no purity enforcements; it's a whole lot easier to transition people to.

Disclaimer: My development these days is almost exclusively in Haskell

Correct question would be - why Yaron Minsky chose OCaml. AFAIK Jane Street uses OCaml because they hired Minsky.
Jane Street started using OCaml in the mid-2000s, when Haskell wasn't (or, at least, wasn't perceived as being) up to snuff in terms of performance. Haskell has come a long way in the past 10 years.

In 2015, Haskell is almost as fast as OCaml, albeit less predictable and therefore possibly still less desirable in certain financial settings. Haskell has a better concurrency story, though.

There were some early papers by Simon Peyton-Jones on financial contract modeling in Haskell too eg http://research.microsoft.com/en-us/um/people/simonpj/Papers... but OCaml had a much better performance story.