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

why would you use Gleam instead of Elixir, is there any benefit to using both of them?


The benefits would be if you prefer gleam:s syntax and static typing. In the end all compile down to the same Erlang byte code that runs on the BEAM so neither has any performance benefits.


ah ok, reading more compiles to JavaScript, generates typescript definitions, can reuse code from all Beam supported languages.

So maybe Gleam as an easier way to integrate JS and Erlang / Elixir?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: