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.
This post describes the ways of generating permutations, with 2 common approaches , the Johnson Trotter algorithm and streaming. Code is in OCaml....
Even though registers are a low-level CPU concept, having some knowledge aboutthem can help write faster code. Simply put, a CPU register is a storage for as...
In the spirit of reinventing the wheel for fun, I hacked this together as aquick challenge to myself last week. It’s a little rough around the edges, but Ith...
A few months ago, a memory leak in the Scanf.fscanf function of OCaml’s standard library has been reported on the OCaml mailing list. The following “minimal” example reproduces this misbehavior: Let us see how to identify the origin of the leak and fix it with our OCaml memory profiler. Instal...
We’ve been doing a bunch of work recently on improving the responsiveness ofOCaml’s garbage collector. I thought it would be worth discussing thesedevelopmen...
The official OCaml documentation “Interfacing C withOCaml” doesn’tdocument some interesting performance features.
This was long overdue, after a lot of ocsigen-cohttp hacking (duh), I finally started trying mirage!