Week 45: what’s everyone hacking on this week?

I’m building a URL shortener with three components: a GraphQL API for management, the actual redirector, and a React.js based interface (maybe using Reason).

I’m brand new to OCaml with my only functional programming experience being going through Learn You a Haskell for Great Good and doing a tiny project with it a few years ago. Really enjoying OCaml, it’s feeling pretty natural to me. Just wish there were better database libraries.

I’m currently using ocaml-mariadb and it’s been great except for not being able to run concurrent queries despite supporting Lwt. The other relational DB libraries I’ve looked at all seem to have major drawbacks or are immature (want Lwt and jbuilder support). I’d be happy to know if I missed one; I don’t need to use MariaDB.

That said, the OCaml community in the Reason discord channel have been great and super helpful. I’m excited and hopeful for my future with OCaml.

4 Likes