▲ | zem 5 days ago | |||||||
ocaml is one of my favourite languages too, but I've found myself being drawn towards rust for my latest project due to its major superpower - you can write a rust library that looks like a c library from the outside, and can be called from other languages via their existing c ffi mechanisms. I feel like by writing the library in ocaml I would have a better experience developing it, but be giving up on that free interop. | ||||||||
▲ | yawaramin 4 days ago | parent [-] | |||||||
You can call OCaml code like a C library: https://ocaml.org/manual/5.3/intfc.html#s%3Ac-callback | ||||||||
|