A better build system for OCaml
blog.janestreet.com
A better build system for OCaml
1–10 of 219 posts
Re: A better build system for OCaml
#2Re: A better build system for OCaml
#3Cmake mostly
Re: A better build system for OCaml
#4I still occasionally hear things about how the more academic-styled functional languages can't work in production, but Ocaml shows that it absolutely can work, even with high performance requirements.
Re: A better build system for OCaml
#5Re: A better build system for OCaml
#6Ocaml never clicked for me, I have a rare form of semicolon allergy and Haskell just looked a lot nicer to me.
But then I recently tried Reason and enjoyed it A LOT, so everything Ocaml is suddenly interesting.
Re: A better build system for OCaml
#7¥https://signalsandthreads.com/build-systems/
Re: A better build system for OCaml
#8kinda surprising that it still makes sense to develop your own new build system, and then do the migration to it, instead of adopting an off-the-shelf one like buck2 (or bazel/etc...). Not saying that these fancy build tools are easy to adopt, but compared to building your own? is there something remarkable that makes dune much different?
JS does have a bit of a NIH culture, but I'm not sure if that was really at play here. There just...weren't very many good build tools available at the time, particularly for a company using an unorthodox tech stack.
Re: A better build system for OCaml
#9kinda surprising that it still makes sense to develop your own new build system, and then do the migration to it, instead of adopting an off-the-shelf one like buck2 (or bazel/etc...). Not saying that these fancy build tools are easy to adopt, but compared to building your own? is there something remarkable that makes dune much different?
In particular I was under the impression one needed to be able to run ocamldep before hand (or compile twice) - buck2 can do this, bazel needs hacks iirc.
Re: A better build system for OCaml
#10(This rant more or less equally applies to other language-specific build systems.)