HN Hall of Fame Weekly email

Python to OCaml: Retrospective

roscidus.com Essays & writing Essays & articles Software engineering Candidate
Screenshot of roscidus.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
3
submitters
3
observed span
2014–2017
peak thread · 71 comments
235 pts
latest 20+ return · 2016-01-26
196 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

As a language, OCaml gets most things right: being functional by default appeals to me very much, as does the easy path into imperative programming when you need it. Its type system is awesome not only at catching bugs at compile-time, but also at guiding you in your design. There are a couple of nice-to-have that would be cool though: Haskell-like type classes come to mind, and some minor syntax warts could be improved. Its implementation is also extremely solid…

This seems near-proof to me that a gradual inflight translation of a codebase from ANY one language, to another, entirely different one, is feasible, as long as you build a data interop layer of some sort (JSON, etc.). I imagine that if it were powering a web app, dual-deployment would become an additional (but potentially manageable) concern during the "transition" period. This seems a much safer/saner way to do total rewrites/refactorings. Note that it practically demands decent (if not impeccable)…

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
432

reference only — not used in Hall rules or ranking

Total comments
126

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2014-06-06Python to OCaml: RetrospectiveFirst breakout · Best threadEnvec8323571
2016-01-26Python to OCaml: RetrospectiveLatest 20+ point returnantouank19655
2017-09-18Rewriting 0install from Python to OCaml: Retrospectiverelyio10