7 ms·
> - Elixir compiles directly to Erlang byte code No, it compiles to Erlang. Which is then compiled by the Erlang compiler.
by nox_ 12y ago
> - Elixir compiles directly to Erlang byte code
No, it compiles to Erlang. Which is then compiled by the Erlang compiler.
- rubiquity 12y agoI guess I'm misinformed on this. The output of compiling Elixir files are .beam files, not .erl files. Maybe the Elixir compiler compiles to Erlang along the way?
- nox_ 12y agoElixir's compiler emits Erlang forms, and then relies on OTP's Erlang's compiler. It is not a direct process.