Blog
The OCaml Planet RSS
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.
Source
Keyword
Year
Author
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.
This post is about a piece of infrastructure that we rebuilt over the last few months: the parser of the template language used inside LexiFi’s products. More precisely, it is about the switch from a classic parser producing an abstract syntax tree (AST) to one producing a concrete syntax tree (CST).
The 2026 edition of the OCaml Workshop is taking place on August 24 in Paris and LexiFi is taking part in it. The 20-minute talk will be a presentation of LexiFi’s system of runtime types, the type reflection machinery of our compiler fork that underpins a large part of our software stack. The slides for the workshop are below. A longer extended report is also available.
FUN OCaml is an open-source hacking event dedicated to OCaml enthusiasts and professionals alike. The second edition took place this year on September 15 and 16 in Warsaw, Poland, and LexiFi took part in it! Thanks to the impeccable work of the organizers, a wonderful venue, great talks and plenty of goodwill, the event was a unalloyed success.
With the release of Vdom 0.3, OCaml developers now have access to a powerful new feature: Elm-like decoders. They provide an elegant and efficient means to access data fields within tree-like structures, such as JavaScript objects. In this new version of the Vdom library, you can now define custom event handlers, moving away from the previously hard-coded system.
On June 19, 2023, it was announced that the OCaml project received the 2023 ACM SIGPLAN Programming Language Software Award. Notices of the award are available at https://www.sigplan.org/Awards/Software and https://ocaml.org/news/sigplan_announcement. The award is given in recognition of software systems that impact both academia and industry.
Between May and August 2022, Uma Kothuri from the US interned with us at LexiFi and worked on adding native Windows support for Dune’s watch mode (dune build -w). The internship was a big success, but, unfortunately we ran out of time before the contribution could be polished for submission upstream, which delayed its integration in Dune.
LexiFi contributes to open-source efforts in the OCaml community.
This post is about our use of OCaml inside LexiFi and how we managed a large refactoring of our codebase that we enterprised in order to take advantage of a new feature of OCaml.
Consider a sequence of n nn numbers and imagine you need to compute the maximum of all adjacent sub-sequences of length k kk. How would you do that efficiently?
This post describes how unboxing for float values works in OCaml, focusing on recent evolutions. Most of the content here applies to boxed integer types as well (int32, int64 and nativeint).