Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What does deployment look like? Can you get a static binary easily like with Go?


You don't get it from language tooling because you are compiling to a bytecode that runs in a virtual machine (BEAM).

The current tool to wrap your bytecode with a VM so that it becomes standalone is Burrito[1], but there's some language support[2] (I think only for the arch that your CPU is currently running? contra Golang) and an older project called Distillery[3].

1: https://github.com/burrito-elixir/burrito

2: https://hexdocs.pm/mix/Mix.Tasks.Release.html

3: https://hexdocs.pm/distillery/home.html




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

Search: