|
|
|
|
|
by bombtrack
3501 days ago
|
|
We use both Erlang and Elixir where I work. We successfully use Erlang libs in our Elixir projects pretty easily. We recently started trying to do the reverse and use an Elixir app inside an existing Erlang app. It has been significantly more work. The main issues have been around dependency management. I wasn't personally working on this, so I apologize for being fuzzy on the details, but I understand that getting rebar3 to fetch all the deps that would normally be managed by hex was not possible or at least non-trivial. There was talk of having to manually install each dep that you knew the Elixir lib would be requiring. I think it was sorted into something workable, but if anyone has better understanding I would love to be pointed to some resources! |
|
Not a seamless setup, but it does work. As the sibling comment suggests, perhaps using mix for everything would help.
[0] https://github.com/barrel-db/rebar3_elixir_compile