5 ms·
> OCaml has the advantage of offering very good performance > while not having to deal with the borrow checker My understanding was that OCaml had no support
by stock_toaster 12y ago
> OCaml has the advantage of offering very good performance
> while not having to deal with the borrow checker
My understanding was that OCaml had no support for parallelism -- so a single core is all you get. Is that not the case?
- mercurial 12y agoThat's true, though through Lwt (and Core.Async) it has good support for concurrency. However, the work on the parallel runtime seems to progressing at a steady pace, so parallelism is coming.
- stock_toaster 12y agoAh. Thanks for the info!
- pjmlp 12y agoNo. It does support parallelism and concurrency. The biggest issue is that the runtime still has a global lock, but it is in the process of being removed.
- masklinn 12y agoOCaml does have concurrency and parallelism support, but it has a GIL so their effectiveness is somewhat limited unless you go multiprocess. I believe there are serious efforts towards removing the GIL these days.