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.

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.

Using memtrace on Windows

It is said that good things come to those who wait. Jacques-Henri Jourdan demonstrated Statistically profiling memory in OCaml at the 2016 OCaml Workshop and experimental branches of it existed for OCaml 4.03–4.07 in opam. Parts of the work were merged in OCaml 4.10 and the final sections landed with 4.11. The compiler provides support in the form of a series of hooks in various parts of the runtime’s allocation and garbage collection routines. A few weeks ago, Jane Street released memtrace and Memtrace viewer and earlier this week blogged about its use. I thought I’d quickly share the experience of using it on native Windows.

08 Oct 2020

David Allsopp's Blog

Read Article
Finding memory leaks with Memtrace

Memory issues can be hard to track down. A function that onlyallocates a few small objects can cause a space leak if it’s calledoften enough and those object...

06 Oct 2020

Jane Street Tech Blog

Read Article
Compiler optimization with Greta Yorsh

30 Sep 2020

Signals and Threads

Read Article
Rehabilitating Packs using Functors and Recursivity, part 2.

This blog post and the previous one about functor packs covers two RFCs currently developed by OCamlPro and Jane Street. We previously introduced functor packs, a new feature adding the possiblity to compile packs as functors, allowing the user to implement functors as multiple source files or even ...

30 Sep 2020

OCamlPro

Read Article
Rehabilitating Packs using Functors and Recursivity, part 1.

OCamlPro has a long history of dedicated efforts to support the development of the OCaml compiler, through sponsorship or direct contributions from Flambda Team. An important one is the Flambda intermediate representation designed for optimizations, and in the future its next iteration Flambda 2. Th...

24 Sep 2020

OCamlPro

Read Article
Building portable user interfaces with Nottui and Lwd

At Tarides, we build many tools and writing UI is usually a tedious task. In this post we will see how to write functional UIs in OCaml…

24 Sep 2020

Tarides

Read Article
Tarides is now a sponsor of the OCaml Software Foundation

Tarides is pleased to provide support for the OCaml Software Foundation, a non-profit foundation hosted by the Inria Foundation. The OCaml…

17 Sep 2020

Tarides

Read Article
Build systems with Andrey Mokhov

16 Sep 2020

Signals and Threads

Read Article