logoalt Hacker News

Ndymium10/11/20243 repliesview on HN

Which part do you feel like would be an issue? When you run `gleam compile`, it will automatically call the Erlang compiler to finish the job.

I find it very handy that the intermediate Erlang (or JS) files are available in the build directory. It lets you easily see what form your code will take when compiled.


Replies

rtorr10/11/2024

Also prevents lock-in if you ever need to move away from gleam.

pan6910/11/2024

I don't think it's the transpile part that would the issue, it's the runtime aspect. If Gleam transpiles to Erlang/Javascript that's great but once you run the program, you have to potentially deal with runtime issues specific to those environments which you might not be familiar with.

It seems that Gleam is really useful for those who are already in either the Erlang/Javascript ecosystem.

show 1 reply
cedws10/11/2024

Another layer of abstraction, another thing to go wrong, another thing to rot.

show 2 replies