Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is INRIA going to add concurrency primitives to OCaml?

By "concurrency" I mean lightweight processes like Erlang's actors and concurrent GC aimed to make such a processes work smoothly.

It would be very cool if INRIA got rid of those drawbacks of the current OCaml implementation to make OCaml more prepared for the multicore future.

P.S. F# isn't what I'm looking for.

like image 672
Prikrutil Avatar asked Aug 19 '09 19:08

Prikrutil


2 Answers

no

I cannot be more concise without reproducing his explanation. It speaks for itself. Yes, this is from 2002, but I haven't heard him sway on the issue, and from the text, it doesn't seem probable at all that he would back down from these goals.

For current developments on concurrent functional programming, possibly MPI solutions (with ocaml bindings) might be a solution to your problem. Obviously this is not shared memory parallelism. There is also concurrent ML.

like image 53
nlucaroni Avatar answered Nov 16 '22 00:11

nlucaroni


There is J&oCaml, which is …

Objective Caml plus (&) the join calculus, that is, OCaml extended for concurrent and distributed programming.

like image 25
Jörg W Mittag Avatar answered Nov 16 '22 00:11

Jörg W Mittag