3 ms·
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/inha
by seliopou 11y ago
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 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.
- pnathan 11y agoMy hat, it is taken off to you. I will be experimenting with this!
- eatonphil 11y agoWhy the GCC requirement on FreeBSD? And that definitely shouldn't require actually creating a static link. Edit: whoops, replied to the wrong parent.
- seliopou 11y agoThe 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&aid=1451&group_id=243&atid=1096 https://forge.ocamlcore.org/tracker/index.php?func=detail&ai...
- alexatkeplar 11y agoThis 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...
- sgrove 11y agoI've used this (thanks seliopou!) to convert my bash-based (Mirage) deployment scripts over to OCaml, and am significantly happier with the end result.