Sandtracks

Updates from the maintainers of Melange.

  • 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.

  • Published on

    Announcing Melange 3

    We are excited to announce the release of Melange 3, the latest version of our backend for the OCaml compiler that emits JavaScript.

    This new version comes packed with significant changes, improvements, and a few necessary removals to ensure a more streamlined and efficient experience for our users. This new version is both leaner and more robust. We focused on fixing crashes and removing obsolete functionality, improving the developer and troubleshooting experience, increasing OCaml compatibility and JavaScript FFI integration.

  • Published on

    The rest of 2023 in Melange

    As October 2023 unfolds, we'd like to present what we're planning to work on during what remains of 2023. Built upon the invaluable feedback of our users and our vision for Melange, we are excited about what's next.

  • Published on

    Introducing Melange 2.0

    Today, the Melange team is excited to introduce Melange 2.0. This iteration brings an upgrade to the OCaml 5.1 type checker, along with increased compatibility with the OCaml Platform. Melange 2.0 unifies the compiler attributes and libraries under the Melange brand and it improves developer experience across the ecosystem. We're also publishing a few battle-tested libraries to OPAM.