3 ms·
What's the current state of parallel execution with OCaml? Historically, I've been attracted to the type system and I think it's generally one of the most beau
by krenoten 12y ago
What's the current state of parallel execution with OCaml? Historically, I've been attracted to the type system and I think it's generally one of the most beautiful languages out there, but I build things that need to take advantage of many cores at once. Are there now at least nice wrappers around going multi-process like python's multiprocessing library?
- avsm 12y agoThere are a few libraries out there; Async_parallel is one: https://blogs.janestreet.com/async-parallel/ https://blogs.janestreet.com/async-parallel/ Lwt also has the Release framework which does multiprocess: https://github.com/andrenth/release https://github.com/andrenth/release and more if you search through OPAM.
- krenoten 12y agoThanks for the pointers! I'll definitely be playing with these :)
- ihnorton 12y agoNo idea what the current status is, but there is an in-progress branch linked from here: http://www.cl.cam.ac.uk/projects/ocamllabs/tasks/compiler.html#Multicore http://www.cl.cam.ac.uk/projects/ocamllabs/tasks/compiler.ht...