As a premise, I’m not interested in Windows and OCaml in that OS. I’m only asking because I have a long standing PR on GitHub asking me to port
ocaml-lua under Windows and Esy.
What is the state of the OCaml ecosystem in that context?
I’m currently fighting hard to compile the Lua library as a DLL (this works, sort of…) and linking the DLL artifact to my library using dune.
Meanwhile I realized that many libraries cannot be installed altogether: Lwt is installable using OPAM but Core/Async is not.
So the first question is: do the PR request makes sense, in the first place? Is Windows a usable environment for OCaml programmers?
Second: do I have any chance to reliably compile my stubs and link those with a DLL produced via
dune as described in Foreign build sandboxing?