|
|
|
|
|
by amirmc
4256 days ago
|
|
> I have the impression that the OCaml world has seen a lot of changes recently with a lot of complexity added. The first part of that is very true but the second part feels completely and utterly false to me. Where is this added complexity? OCaml and OPAM were ridiculously trivial to set up on my system (via homebrew on a Mac) and OPAM 1.2, with many improvements, is due for release in the next few days [1]. Decent instructions are in the RWO wiki page [2]. The OPAM devs are responsive to bug reports and do a lot to maintain the health of the package ecosystem too. If you're installing everything from sources then you're choosing to take on that burden and I wish you well but don't claim that more complexity is being added. [1] beta announcement: https://opam.ocaml.org/blog/opam-1-2-0-beta4/ [2] https://github.com/realworldocaml/book/wiki/Installation-Ins... |
|
Recently, I tried to install a few ocaml projects. I had to learn what are Opam, OCamlfind, Batteries, Core... And unfortunately, it didn't work on my particular mac with homebrew. I had to use alternative ways of installing everything.
If you look at the installation procedure: https://ocaml.org/docs/install.html It may be rather complex depending on the platform, and if it doesn't work from the start, you have to dig deeply in this whole new ecosystem.
An other example. I was trying to install a project that compiles only using ocamlfind. Unfortunately, one of the libraries used wasn't available with Opam and I had to find it elsewhere and write myself the ocamlfind meta information.
So yes, to me, a lot of complexity was added. There are many new tools that you have to learn, a few standard libraries (I still don't know which one to use as a casual developer).
It's probably much powerful and it works well most of the time, but it's more complex than 10 years ago.