↓Skip to main content
  1. Tags/

Ocaml

2025


🐫 Songs of the OCaml Compiler: The Series

I recently found myself with some time, so I dedicated 2 weeks to pick up OCaml’s basic patterns-of-thought by writing an event-simulator that demonstrates a classic consensus protocol (Paxos). The goal was to implement something familiar as a proxy to gaining intuition around something unfamiliar. ~4 weeks later Scope-creep is inevitable for personal projects. This also doesn’t count the months between finishing the code and finishing the writing — some consulting work intervened, and the series sat until I could give it the attention it needed. The open git history chronicles the actual timeline. , the project is at a stage where I can focus on talking about it…

·· 1995 words· 10 mins

Real World OCaml: Functional Programming for the Masses

Real World OCaml is supposed to be a intermediate-depth introduction to the OCaml ecosystem, with some rigour to drive home the intuition around the language constructs and under-the-hood mechanisms. It was fun to read this and to see patterns from other worlds like the Elixir world and OOP world be mapped to the world of OCaml and the greater ML-family of languages.

·· 72 words· 1 min

0001