Databases and OCaml

If anyone is interested, I put Arena’s new Postgres library (PGX) on GitHub. There’s still a lot of work to do before I make a bigger announcement, but if you want something similar to PG’OCaml with a higher-level interface and more tests it might be for you.

At this point we’re definitely planning to change the interface in non-backwards-compatible ways, and we’re also looking for feedback on the interface. Our goals (in order of priority) are:

  • Safety – the library should prevent you from doing things wrong whenever possible
  • Ease of use – Try to reduce boilerplate as much as possible and make it obvious how to do things right
  • Speed – If we can get it without hurting the other two