Hacker News new | ask | show | jobs
by yelnatz 2540 days ago
I've used it sparingly, I think deploying is pretty bad with it.

I like the convenience of deploying a golang app, just one executable.

2 comments

OTP releases let you build something akin to this, where the runtime and all the dependencies are bundled in; so long as you built it for the right architecture (much like a binary), it's a single command to run your app.

This used to be done with Distillery[1], but I suspect its use will go down now that Elixir has native OTP releases.[2].

In either case, there's still work behind it, but it's not like deploying Ruby, Python, or Node, where you have to be pretty careful about library paths and runtime versions.

   [1]: https://github.com/bitwalker/distillery
   [2]: https://elixir-lang.org/blog/2019/06/24/elixir-v1-9-0-released/
> I like the convenience of deploying a golang app, just one executable.

This is crazy. What about configuration, systemd unit file / initscript, documentation, manpage, shell completion. And the ability to tell what is installed, where, and at which version.

HN forgot how to do software distribution to the hype of statically compiled languages.