Frustrations with the OCaml ecosystem while developing a synthesizer library
1–10 of 28 posts
Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#2I'm curious about the happy path of ocaml vs c++, I'm not sure how much of a happy path there even is in c++. I guess if every dependency uses the same build system as the main project, maybe that's a happy path? Hard to call cmake a happy path though, more so just a tolerable path. Conan sounds nice in theory but my experiences do not match the hopes I had. I remember golang dependencies not being too bad when I tried it, really need to mess around with rust a bit to see what that's like too since I hear so much good about it.
Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#3Sounds very relatable coming from c++. Managing dependencies is generally not too fun, it's very easy to waste a whole day (or more) fighting with the build system/package manager/linker. I like to think it's the tools but then you see a really smart c++ developer and that excuse starts to sound a little weak. It seems c and c++ attract a relatively high average percentage of developers who are willing to go learn th…
Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#4Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#5Sounds very relatable coming from c++. Managing dependencies is generally not too fun, it's very easy to waste a whole day (or more) fighting with the build system/package manager/linker. I like to think it's the tools but then you see a really smart c++ developer and that excuse starts to sound a little weak. It seems c and c++ attract a relatively high average percentage of developers who are willing to go learn th…
Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#6Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#7I've used OCaml in production for 2 decades without ever needing to use dune, opam etc.
Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#8I think the author's problem was using dune at all. It's a very weird and obscure tool, and not necessary, you can just run ocamlopt commands from existing build systems (like autotools, meson etc). I've used OCaml in production for 2 decades without ever needing to use dune, opam etc.
Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#9Coq has used various new tools over the years and at times has been more difficult to build than 15 years ago. With OCaml-5 the situation seems to have gotten better: At least the infamous caml4p problem was solved, and I "only" had to fix a wrong ocamlfind config file that was installed by default.
ocamlbuild is generally good, but Dune and Opam are a black box that is simply often broken. I wish more mature projects switched to Makefiles, which despite all the hate for them are always the most reliable build way.
But OCaml-5 is so great that all of this is minor bickering! It is confusing for beginners though.
Re: Frustrations with the OCaml ecosystem while developing a synthesizer library
#10I think the author's problem was using dune at all. It's a very weird and obscure tool, and not necessary, you can just run ocamlopt commands from existing build systems (like autotools, meson etc). I've used OCaml in production for 2 decades without ever needing to use dune, opam etc.