I wanted to jot down some notes from my experience compiling a command-line application written in Elixir to a statically-linked binary on macOS. So far the experience has been great! I remember trying to do the same thing with OCaml a few years ago and it being a nightmare. Here are some gotchas I’ve run into, coming from a C++/TypeScript/Java background: