- Published on
A Preview of Universal Libraries in Dune
I recently shared a 2024 progress update about our work on Melange. In that message, I briefly wrote about "universal libraries" in Dune, the ability to write a shared OCaml / Melange codebase while varying specific module implementations, flags, preprocessing steps, etc. according to the compilation target.
I also promised to dive deeper into what "universal libraries" are all about, and the new use cases that they unlock in Dune. Keep reading for an in-depth look at the history behind this new feature rolling out in Dune 3.16.