Something for deep OCaml linking/build/compilation understanding

Please recommend some materials (blog posts, books, papers, etc.) about next topics and related to OCaml:

  • compilation
  • building
  • linking

Maybe it’s not the most readable, but I think the official documentation contains all the low level details: http://caml.inria.fr/pub/docs/manual-ocaml/comp.html

There’s Intro To Reason Compilation by Cheng Lou.

It explains Reason compilation workflow, but this is applicable to OCaml almost as-is also — I’d recommend it to get a grasp on how multiple tools from the OCaml compiler toolchain are being used together.

2 Likes