Curated Picks

Hand-picked articles, podcasts, and videos, annotated with our insights

r/ocaml subreddit Feb 23, 2025

Why is Ocaml not popular?

Reddit user

A March 2023 Reddit discussion on OCaml's limited popularity aggregated long-standing technical and ecosystem criticisms from experienced practitioners. Participants noted the historical QPL license, since changed to LGPL, and the late arrival of solid multicore support as key hindrances to adoption. The language's dual module/object system and its "basic" standard library were cited as creating a steep learning curve and ecosystem fragmentation, exemplified by competing concurrency libraries (Lwt, Async, Eio). Commenters argued OCaml lacks a dominant application niche beyond compiler construction and formal verification, a domain where its algebraic datatypes and pattern matching excel.

Several concrete outcomes were acknowledged: OCaml 5 delivered multicore capabilities, Dune stabilized project management, and VSCode/LSP improved the IDE experience. However, the community consensus indicated these arrived too late to counter momentum toward F# on .NET or Rust for systems programming. The discussion repeatedly highlighted Jane Street as the sole major commercial backer, creating a talent pool concentration but failing to catalyze broader industry use. Windows support was described as historically poor, though recent tools from Tarides were noted as a potential improvement.

The thread concluded that mainstream languages have absorbed many ML-family features, reducing OCaml's marginal benefit for most teams. A recurring observation was that the language's design favors theoretical elegance over pragmatic onboarding, with documentation and tooling breaks cited as community management failures. No single technical flaw was deemed fatal; instead, the aggregate of social, ecosystem, and timing factors was presented as explaining its niche status.

OCaml
Haskell Discourse Dec 23, 2023

8 months of OCaml after 8 years of Haskell in production

Dmitrii Kovanikov

A senior Haskell practitioner published an experience report after eight months using OCaml professionally at Bloomberg, contrasting it with eight prior years of Haskell. The author cited OCaml's "ergonomic mutability" and simpler, extension-free semantics as primary productivity benefits, reducing cognitive load compared to complex Haskell type errors involving features like MultiParamTypeClasses. Community discussion validated OCaml's practical toolchain, with PPX preprocessors providing derive-like functionality and Jane Street's sustained investment credited for ecosystem growth. The blog post was subsequently updated based on community feedback, refining library recommendations and acknowledging OCaml's own error message quirks. Concrete outcomes included the author’s public shift in primary language focus and a detailed comparison table that sparked broader debate on language design trade-offs, specifically the stability versus innovation balance. The discussion served as a visible marker of ongoing developer migration between these ML-family languages, driven by perceptions of industrial maintainability.

OCaml