Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
thousands of CPU cores
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-07-10 (11:37)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] thousands of CPU cores
On Thursday 10 July 2008 06:57:44 J C wrote:
> As much as I hate to look a gift horse in the mouth, and I think Caml
> has been a great and grossly underappreciated product, I need to see
> if writing Caml is a viable code investment for the coming years or
> something like Haskell, SML, F# or even Ada will be a better long-term
> alternative.
> Are there plans to make Caml threads OS-native threads, or add
> OpenMP-style primitives, or otherwise support multiple CPU cores? And
> if so, roughly in what time frame?

OCaml already has OS native threads (albeit with a global lock), already 
supports OpenMP and can already be used to write parallel programs that 
exploit multiple cores.

While F# can be up to 100x faster than OCaml for some parallel tasks, there is 
no evidence indicating that SML, Haskell and Ada will be as good as OCaml, 
let alone better.

Dr Jon D Harrop, Flying Frog Consultancy Ltd.