What is an example of a good, modern OCaml codebase that I can learn from?

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

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
  • SonarQube - Static code analysis for 29 languages.
  • dune

    A composable build system for OCaml.

    Dune, OCaml's build system, is quite mature and uses many techniques to implement a concurrent job scheduler and RPC server

  • xic

    A compiler for the Xi programming language

    Here's a compiler for a C-like language written in OCaml (note: I am not one of the authors though I did take the class). Despite it being a college project I think it shows very clean design and particularly good use of preprocessors. All of the details for the language and stuff is linked at the bottom. It's a relatively small codebase of course but I think this is good educationally.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • ocaml

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

  • tezos

    https://gitlab.com/tezos/tezos they have a good on onboarding doc too

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