Hi all,
I started writing OCaml recently, coming from a background of Scala and
Python. My interest was triggered by a HackerNews post announcing an
MOOC [1] for a language I never heard of before. As you might
comprehend, I was quickly pulled into this amazing world of global type
inference, multi-paradigm programming and native compilation.
Since my day job is heavily focused on cloud development, I also came
round to write some Go code. You can tell that this language is designed
for containers, but what struck me as odd were the many parallels that I
saw to OCaml - static compilation to native code, object oriented
programming, first-class functions. Made me wonder if OCaml would be a
good fit for running in, say, Kubernetes.
I wrote a simple TCP utility to accompany my mail server, which is
running on k8s, and after having dealt with some quirks I found that the
language and ecosystem fit the cloud-native paradigm quite nicely. It
also motivated me to write some of my findings up [2] and see if I can
come up with some cool use cases.
Are you deploying OCaml in containers? Are you aware of some libraries
and/or tooling to accelerate developing OCaml for the cloud?
Cheers, Markus
[1]: https://www.fun-mooc.fr/courses/parisdiderot/56002S02/ session02/about
[2]: https://github.com/burgerdev/cloudtools