Hacker News new | past | comments | ask | show | jobs | submit login

I use ocaml daily for work - our core product is written in it. We actively avoid anything that deviates from the base language for reasons of clarity. No camlp4, no lwt, no fanciness other than some of the batteries libraries that improve on the std library. It does occasionally mean we type in more than we would if, say, we used extensions to give us Haskell-like do notation for monadic code, but at the end of the day we err on the side of being very conservative.



That's pretty much how we wrote the virt tools[1], basically we rely on the OCaml compiler, findlib, and not much else.

[1] https://github.com/libguestfs/libguestfs


Wow.

I had not seen your project before and this looks exactly like the right hammer for a problem I needed to hit a week or so go.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: