Blog

The OCaml Planet

Articles and videos contributed by both experts, companies and passionate developers from the OCaml community. From in-depth technical articles, project highlights, community news, or insights into Open Source projects, the OCaml Planet RSS feed aggregator has something for everyone.

Want your Blog Posts or Videos to Show Here?

To contribute a blog post, or add your RSS feed, check out the Contributing Guide on GitHub.

OCaml’s Standard Library (`Stdlib`)

Every programming language comes with some “batteries” included - mostly in the form of its standard library. That’s typically all of the functionality that’s available out-of-the-box, without the need to install additional libraries. (although the definition varies from language to language) Usually standard libraries are pretty similar, but I think that OCaml’s a bit “weird” and slightly surprising in some regards, so I decided to write down a few thoughts on it and how to make the best of it.

14 Mar 2025

Bozhidar Batsov

Read Article
neocaml: a new Emacs package for OCaml programming

I wasn’t an early adopter of TreeSitter in Emacs, as usually such big transitions are not smooth and the initial support for TreeSitter in Emacs left much to be desired. Recently, however, Emacs 30 was released with many improvements on that front, and I felt the time was right for me to (try to) embrace TreeSitter.

14 Mar 2025

Bozhidar Batsov

Read Article
We're Moving Ocsigen from Lwt to Eio!

Announcing a new project transitioning the web development framework Ocsigen from Lwt to Eio and effects, creating new tools and workflows.

13 Mar 2025

Tarides

Read Article
OpenAI and structured outputs from OCaml

with magic, without (touching) JSON

07 Mar 2025

Ahrefs

Read Article
Feature Parity Series: Statmemprof Returns!

Statmemprof, a statistical memory profiler for OCaml, is now compatible with OCaml 5! Discover the technical background to the return of the feature.

06 Mar 2025

Tarides

Read Article
Learning OCaml: Functions without Parameters

A couple of days ago I noticed on OCaml’s Discord server that someone was confused by OCaml function applications (invocations) like these:

02 Mar 2025

Bozhidar Batsov

Read Article