Top 5 Favorite OCaml Libraries?

A quick grep would seem to indicate:

  1. unix because I find low-level solutions to big problems can be more reliable than fancy ones.
  2. lablgl because I love using OpenGL for visualization and this tried-and-tested library is rock solid.
  3. uri is indispensable in the web age.
  4. yojson because JSON is everywhere and this library is super simple and super fast.
  5. ppx_deriving but I really wish OCaml had generic printing!

Honorable mentions go to lwt and cohttp, both of which are awsome but I don’t use them often enough to make the top 5.

6 Likes