Hacker News new | past | comments | ask | show | jobs | submit login

OCaml is a good language, but I agree that it's dying out. Its primary market has generally been academics, and that group has almost completely standardized on Haskell, which is a better language in almost every respect.



Haskell is nice and all, but it's hardly better in every respect. To name a few problems with Haskell relative to OCaml:

- pervasive use of laziness makes space utilization hard to reason about

- Highly complex runtime (mostly due to the need to work around laziness), which makes it harder to trust the correctness of the overall system and to and understand performance

- Significantly more complicated type system, which has its ups and downs. It surely makes the language more complicated to learn in and use in many cases. Benjamin Pierce, no slouch himself, has pointed out that he sometimes has to go read a research paper or two to understand some new library.

- Enforced type-level separation between pure and unpure code, which again, has its ups and downs.

Haskell is a great language. But it surely doesn't dominate OCaml.

And the OCaml community is doing quite well of late, as far as I can tell. There's a lot of new energy in the last few years, with great progress in both the core language and in the surrounding infrastructure.




Registration is open for Startup School 2019. Classes start July 22nd.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: