Hacker News new | ask | show | jobs
by satvikpendem 52 days ago
Or have a static type system and something like BEAM. I'm not sure why this is a one or other approach, both are useful and unfortunately it doesn't seem like any languages include both. Gleam exists but doesn't really integrate with BEAM, it seems to have its own way of doing things that are more akin to Haskell, given its origins.
1 comments

I thought gleam was fully integrated with otp? You’re telling me you can’t do a gen_server or a supervisor in gleam?
It still doesn't have hot reload support which is critical in BEAM. It simply doesn't handle it the same way as Erlang.
I'm running BEAM in production for almost 8 years and not once have I used hot code reloading. Why is that critical?
That's literally the entire point of BEAM lol, that's one of the main reasons it was made, to patch code that breaks after letting it fail. BEAM was designed for as little downtime as possible and if you don't need that then just use another more ergonomic language than Erlang or Elixir.