4 ms·
Interesting insight. I've never tried to call Erlang libraries from Elixir, but I'm not sure I'd want to either :)
by janetacarr 4y ago
Interesting insight. I've never tried to call Erlang libraries from Elixir, but I'm not sure I'd want to either :)
- tyre 4y agoIt’s very easy, as someone who went from Ruby to Elixir and had little understanding (to start) about Erlang. It might be more natural than going down to Java because you’re mostly dealing with immutable data and Elixir is very consciously building on top of Erlang. In comparison, Clojure has always struck me as wanting to build on top of JVM but being an entirely different thing.
- vendiddy 4y agoIt's surprisingly seamless to call Erlang libs from Elixir.
- kartoshechka 4y agobecause you write erlang with some fancy macros :)
- phtrivier 4y agoOh don't get me wrong, it _is_ transparent to call an Erlang library from elixir. It's just that there are even _less_ library to call :P
- shakow 4y agoI did it for some zip stuff that was already implemented in the Erlang stdlib, it was surprisingly easy. I assume the very small numbers of types in Elixir helps with that.