what is wrong with make why does every language need to re invent packaging, building, etc. I think these people have no useful software to write so they rewrite the development stack.
OCaml Onboarding: Introduction to the Dune build system
21–30 of 38 posts
Re: OCaml Onboarding: Introduction to the Dune build system
#22what is wrong with make why does every language need to re invent packaging, building, etc. I think these people have no useful software to write so they rewrite the development stack.
So in the end I tried using dune and opam and whatnot, but it all felt less than clear to me. Especially, the comment someone else made here about having 2 different types of files for dune to work ...
I just want a project local directory, that contains all my dependencies and a lock file to reproducibly built my projects. That's the minimum I expect these days. Or some equivalent alternative.
Re: OCaml Onboarding: Introduction to the Dune build system
#23what is wrong with make why does every language need to re invent packaging, building, etc. I think these people have no useful software to write so they rewrite the development stack.
What are you proposing? Because make isn't really good for anything either.
Re: OCaml Onboarding: Introduction to the Dune build system
#24Earlier quoted context omitted.
The OCaml ecosystem tried the Make route, it was complex, turns out no one likes maintaining makefiles by hand, and they like opaque make rules even less. Like it or not, dune exists for a very good reason.
Make works fine with OCaml. There's a handful of rules you copy and paste around which is not ideal, but that's much easier to deal with than dune.
Re: OCaml Onboarding: Introduction to the Dune build system
#25Earlier quoted context omitted.
The OCaml ecosystem tried the Make route, it was complex, turns out no one likes maintaining makefiles by hand, and they like opaque make rules even less. Like it or not, dune exists for a very good reason.
Make works fine with OCaml. There's a handful of rules you copy and paste around which is not ideal, but that's much easier to deal with than dune.
Re: OCaml Onboarding: Introduction to the Dune build system
#26Re: OCaml Onboarding: Introduction to the Dune build system
#27what is wrong with make why does every language need to re invent packaging, building, etc. I think these people have no useful software to write so they rewrite the development stack.
one day we'll get the equivelent of language server for build systems.
The closest we have right now are build systems in the Bazel / Buck2 lineage.
Re: OCaml Onboarding: Introduction to the Dune build system
#28Does anyone know what's up with ocaml on windows? I haven't used it in a while. Trying to install utop on 5.x compiler and quite a few packages need a downgrade to 4.x? I've tried with both mingw and system-msvc. Same behavior.
That specific combination (ocaml + mingw) has a known problem with ocamlfind that's still awaiting a new release (see https://github.com/ocaml/ocamlfind/pull/112). ocamlfind underpins quite a bit of the package ecosystem, so this one is annoying, as the mingw workflow is otherwise quite good.
Re: OCaml Onboarding: Introduction to the Dune build system
#29is uv to python what dune is to OCaml?
^1: https://dune.readthedocs.io/en/stable/tutorials/dune-package...
Re: OCaml Onboarding: Introduction to the Dune build system
#30Are OCamls related to ollamas?