My earlier post Four MLs (and a Python) listed a toy example program written in four languages in the ML family: Standard ML, OCaml, Yeti, and F♯. Perhaps unwisely, I measured and reported the runtimes for each version of this program when processing a test file on my Linux laptop. The figures I got were,… Continue reading SML and OCaml: So, why was the OCaml faster?
Tag: ocaml
Feedback on “Four MLs (and a Python)”
My last post got an unprecedented amount of attention after appearing on the popular site Hacker News. It spent about 14 hours on the front page there and got almost 11,000 unique visitors that day — a fair way above my usual daily average, for this whole blog, of about a hundred. I combed through… Continue reading Feedback on “Four MLs (and a Python)”
Four MLs (and a Python)
I wrote a small command-line text processing program in four different ML-derived languages, to try to get a feel for how they compare in terms of syntax, library, and build-run cycles. ML is a family of functional programming languages that have grown up during the past 40 years and more, with strong static typing, type… Continue reading Four MLs (and a Python)