logoalt Hacker News

throwaway894345yesterday at 10:40 PM3 repliesview on HN

How's the build tooling these days? Last I tried, it used some jbuild/dune + makefiles thing that was really painful to get up and running. Also there were multiple standard libraries and (IIRC) async runtimes that wouldn't play nicely together. The syntax and custom operators was also a thing that I could not stop stubbing my toes on--while I previously thought syntax was a relatively unimportant concern, my experience with OCaml changed my mind. :)

Also, at least at the time, the community was really hostile, but that was true of C++, Ada, and Java communities as well well. But I think those guys have chilled out, so maybe OCaml has too?


Replies

Yoricyesterday at 10:48 PM

I'm re-discovering OCaml these days after an OCaml burnout quite a few years ago, courtesy of my then employer, so I'm afraid I can't answer these questions reliably :/

So far, I like what I've seen.

yawaramintoday at 4:07 AM

    $ dune init project my-project
    $ dune build
That's it, now you have a compiling project and can start hacking.
myaccountonhnyesterday at 10:57 PM

Ocaml community is chill and helpful, and dune works great with really good compilation speeds.

Its a really nice language