Communication between a program written in ocaml and one written in dlang or crystal

What would be the most simple solution.
Use foreign function interface ?
Use named pipes ?
Use sockets ?
Something else ?

1 Like

Two programs running concurrently? Unix sockets sound like the way to go.

2 Likes

If one is controlling the other, you can go a long way with just e.g. JSON over stdin/out.

3 Likes