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

> - Elixir compiles directly to Erlang byte code

No, it compiles to Erlang. Which is then compiled by the Erlang compiler.



I 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?


Elixir's compiler emits Erlang forms, and then relies on OTP's Erlang's compiler. It is not a direct process.




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

Search: