3 ms·
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
by edwintorok 5y ago
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)
- Ericson2314 5y agoRPC is dramatically less powerful than than FFI. No sharing of state is a serious limitation.
- pjmlp 5y agoThere are ways to share state over RPC.