News for hackers. Stuff that matters.
Re:PR to Merge Multicore OCaml by edwintorok on Tuesday December 21, 2021 @06:36PM (#29643469)
In that case interoperability with Go libraries might be better: just running on the same runtime wouldn't bring many advantages (other than having a single GC instead of 2) without being able to easily call libraries written in another language. (Although TBH I'd run them as 2 separate processes and have them communicate via some form of RPC, OCaml would just need good integration with <insert-favourite-GO-rpc> protocol)
Re:PR to Merge Multicore OCaml by Ericson2314 on Tuesday December 21, 2021 @06:42PM (#29643522)
RPC is dramatically less powerful than than FFI. No sharing of state is a serious limitation.
Re:PR to Merge Multicore OCaml by pjmlp on Wednesday December 22, 2021 @03:29AM (#29646815)
There are ways to share state over RPC.