Monday, 28 July 2008

Growth of the OCaml job market

Functional programming languages have been around for a long time, of course, but they have only very recently begun to be adopted for more mainstream programming tasks. This is reflected in the job market and the IT Jobs Watch website does an excellent job of trending job market trends over time for different programming languages, including OCaml. The results are nothing short of miraculous:

This shows that, at least in the UK, the OCaml job market is growing at an incredible rate: 12× as many OCaml jobs on the market as last year.

Moreover, the range of salaries for OCaml developers is substantially higher than all mainstream languages: £45-68k compared to only £38-45k for C# and £42-52k for Java. As we predicted last year, this trend is driven by employers using programming language diversity as a way to identify superior candidates and this trend is driving more and more young developers to better their programming abilities and job prospects by learning advanced languages like OCaml.

We believe this trend will continue for several years to come.

Sunday, 27 July 2008

Metaprogramming with MetaOCaml

The OCaml Journal just published an article about MetaOCaml:

"Metaprogramming is a term used to describe programs that generate or manipulate other programs. The ML family of languages were bred specifically for this purpose and, indeed, that is where their name MetaLanguage is derived from. Run-time compilation and execution of programs is a notable feature once present in Lisp as EVAL but sacrificed in the transition to ML. The MetaOCaml language is a prototype OCaml derivative that is designed to bring statically-typed metaprogramming to the OCaml family of languages. This article examines the use of MetaOCaml for metaprogramming including some of the practical applications of this technology and the challenges faced by users of this technology..."

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


Saturday, 12 July 2008

Calling C code from OCaml

The OCaml Journal just published an article about OCaml's foreign function interface:

"Although the OCaml programming language offers many improvements over older languages such as C, C++ and Fortran the need to interoperate with native code can still arise. The two most important uses for native code interoperability are performance and legacy. This article describes how native code can be invoked from OCaml programs using both the conventional OCaml approach of writing stub functions in C and also a new approach using LLVM to generate the necessary interface code at run-time..."

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