Re:A Fresh Look at Rust
by stock_toaster on Wednesday October 01, 2014 @03:53AM
(#8393276)
My understanding was that OCaml had no support for parallelism -- so a single core is all you get. Is that not the case?
[ Parent
| on HN ]
OCaml 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.
No. 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.
That'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.
Re:A Fresh Look at Rust
by stock_toaster on Wednesday October 01, 2014 @04:41AM
(#8393386)
Ah. Thanks for the info!