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

OCaml desperately needs some wind on its sail. It fares poorly than PowerShell in terms of # of repos, and that says it all really. Compared to Haskell and Clojure, which are soaring to put it mildly.



I think OCaml is doing pretty well for itself. For example see the graph of package-growth at [1] and the recent news from people at Facebook about Hack and Flow (both in OCaml). Not all repos are on GitHub and it's not really fair to expect them to be — especially for the sake of vanity metrics, such as this visualisation.

In addition, some of the repos that have OCaml code may not be recorded as such. Repos where the 'brains' is in an expressive language might be overshadowed by boilerplate from elsewhere.

[1] http://amirchaudhry.com/towards-governance-framework-for-oca...


Thanks, I was starting to get a bit depressing seeing the stats on the website. In fact, I was shocked to find OCaml so far off from Clojure.

I think the adoption problem for OCaml is compounded because it suffers from lack of stackoverflow hits for any given errors that you might encounter or any given queries you might have. Searching for something as mundane as "how to read large files in OCaml" leads to just a single hit (Streams at OCaml.org) [0].

Also, OCaml needs a "recipe/patterns" book-- on how-to get some of the things done the right way in OCaml.

[0] BTW, a big fan of your work.


> Compared to Haskell and Clojure, which are soaring to put it mildly.

Soaring comparatively.

I am a big fan of OCaml, but I think one thing this infographic is heavily biased by is ease of adoption for programmers of all levels. Javascript, Python and others in the top all have that. OCaml and the like are all a bit steep on that front.

However if you find OCaml in the tiny graph on the bottom you'll see that it's steadily increasing at least. Up about 50% in active repos from 2013 to 2014.


Comparatively, yes. Clojure and Haskell have adoption problems too. But I think the community is growing stronger with each passing day. That simply isn't happening with OCaml.


> "That simply isn't happening with OCaml."

Err... based on what exactly? I've been working in the OCaml community for several years now and it's going from strength to strength. Do we have different definitions of 'strength' or something?


Based on blog posts that show up, based on Google results that show when you try to find tutorials on how to get certain things done (in a production environment, that is).

Also, another thing that's peculiar with OCaml is that a lot of libraries are LGPL 3+ which makes it that much harder for corporates to adopt. And sometimes, alternatives to certain libraries are either hard to find, or are not actively maintained. It could also be that, I have been looking in all the wrong places.




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

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

Search: