Is OCaml the "Go" of Functional Programming Languages?

This page summarizes the projects mentioned and recommended in the original post on /r/ocaml

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • ocaml

    The core OCaml system: compilers, runtime system, base libraries

    I'm a go developer who started learning ocaml roughly a year ago and I've fallen in love with it. I'be tried a couple of fp languages before. They've never clicked with me but ocaml did. I don't blame the other languages tho as it's because of the excellent course cs3110 by Michael Clarkson why it finally clicked. Ocaml still has a lot of sharp edges especially in terms of tooling, up to date "best practices" etc which is surprising for how old ocaml already is. But something is happening within the ocaml community. Amazing libraries are popping up left and right and you can feel how this mature language with its small community is just a couple of small steps away from gaining way more adoption. Just today the new launched. I'd say now is the time to join the ocaml community.

  • reason

    Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems

    Just one tip: if you have any trouble with ocaml , the language has an alternative syntax made by Facebook called ReasonML that aims to make the language easier for people coming from other languages. This helped me a lot when I was learning ocaml.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • Elixir

    Elixir is a dynamic, functional language for building scalable and maintainable applications

    If you want a more quantified comparison, here is Elixir's parser, and here is OCaml's. Removing a lot of the function definitions that are left in ocaml's parse file, we can still see that Elixir's syntax is about a third of Ocaml's. For reference, Java would be about twice as much as OCaml's. Elixir does have some sugar on top of things that might not be necessary, e.g. sigils for strings and so on, but if you compare core elixir to core ocaml (or most other functional languages), or you compare full Elixir to full OCaml, you see that it's a smaller language. And to me, it provides overall a very Go-like experience.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts