Friday, 25 June 2010

Tuning the OCaml memory allocator for large data processing jobs

Michael Ekstrand has published an interesting blog article about tuning the OCaml garbage collector for large-scale computations.


The OCaml Journal just published an article about sorting:

"The quicksort algorithm was invented by Tony Hoare in 1960 and remains one of the most celebrated algorithms and is still of great practical value. Implementing some of the many variations of the quicksort algorithm serves as an excellent introduction to programming in OCaml..."

To read this article and more, subscribe to The OCaml Journal today!

Monday, 14 June 2010

Visualizing the 2D Fourier Transform

The OCaml Journal just published an article about the visualization of numerical methods:

"The Fourier transform is one of the most important numerical methods and underpins most forms of spectral analysis. This article describes a simple image compression technique that uses the 2D Fast Fourier Transform (FFT) to remove the high-frequency components of an image, visualizing the result using GTK..."

To read this article and more, subscribe to The OCaml Journal today!

Tuesday, 8 June 2010

ICFP draft from Citrix

Citrix have published a draft of a report due to appear at ICFP describing their use of OCaml in industry, specifically the Management Tools Team (MTT) responsible for the 130kLOC of OCaml code that runs XenServer. The free and commercial editions of the product are deployed in over 40,000 companies worldwide.

Interestingly, none of the perceived risks associated with using a non-mainstream programming language turned out to be a problem. Good OCaml programmers were in abundance. XenSource was acquired by Citrix without any concern about the use of OCaml. Other teams within the company had no problem contributing to the OCaml code base. The OCaml tool chain turned out to be mature enough to support the project.

Sunday, 6 June 2010

OCaml in industry 2007-2010

Looking back, there have been a number of significant advances in the use of OCaml in industry over the past few years:

And, of course, Microsoft released the world's first mainstream functional programming language F# in April 2010 and it is a close relative of OCaml. That had the knock-on effect of boosting interest in OCaml considerably.