Hello,
I am writing a project that is using another ocaml project (let’s say GitHub - mirleft/ocaml-tls: TLS in pure OCaml).
I am able to compile my code, but looks like it is compiled statically. And from what I understand - usually ocaml is compiled statically (to another ocaml).
What I want is -
- compiling the 3rd party project to some shared library
- compiling my code dynamically so I will be able to change the implementation of the 3rd party code without recompiling my binary.
I am new to ocaml and after few hours of tries I still have no idea what should I search for.
Can someone please help me figuring out how can I find the relevant information for what I described above? Maybe some known project that does it or a dune file example
Thank you!