Hacker News new | ask | show | jobs
by lkurusa 992 days ago
https://gleam.run/ Gleam is super promising.
1 comments

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?