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

One clarification. As of a couple weeks ago, OCaml does have native support for many of the services AWS provides, via code generation:

https://github.com/inhabitedtype/ocaml-aws

I've been using these bindings internally for about a year, so the kinks have been worked out. A few more data types need to be supported by the code generator (in particular, the map type), and then it should have full service coverage.




This is awesome - thanks so much for putting this together Spiro. With enough library support I think OCaml can definitely hit a sweet spot for ops...


Why the GCC requirement on FreeBSD? And that definitely shouldn't require actually creating a static link.

Edit: whoops, replied to the wrong parent.


The reason for each step is documented in the bash snippet. At the time of development, zarith (a transitive dependency) hard coded the GCC dependency in its build process. Perhaps it shouldn't, but it definitely did and continues to require the symlink on systems without GCC. I submitted a patch to fix this in zarith, but it has not made it to opam yet. See The patch here:

https://forge.ocamlcore.org/tracker/index.php?func=detail&ai...


I've used this (thanks seliopou!) to convert my bash-based (Mirage) deployment scripts over to OCaml, and am significantly happier with the end result.


My hat, it is taken off to you.

I will be experimenting with this!




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: