Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Compilers, provers and static analysers. It's awesome for that. That's what the language was built for initialy: developing the Rocq prover.

It's surprisingly nice for web development also when you compile to JS. The ecosystem around Mirage and microkernel is quite impressive and if you want to build low level things and I for one like it significantly more than Rust for CLI tools.

It's a very versatile language honestly. It's opinionated enough that you have a clear idea of what would be the community choice but not so much that you can't just go to town with a different solution if it suits how you want to approach the problem more even it is an imperative implementation or even something object oriented.

I personally view Ocaml as basically a better Python with more features, better performance but without the huge success.





Speaking of OCaml vs Python, I quite enjoyed this post from 2014, and actually his whole blog post series: https://roscidus.com/blog/blog/2014/06/06/python-to-ocaml-re...



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: