zlacker

[return to "I tried Gleam for Advent of Code"]
1. bnchrc+56[view] [source] 2025-12-13 17:46:50
>>tymsca+(OP)
Gleam is a beautiful language, and what I wish Elixir would become (re:typing).

For those that don't know its also built upon OTP, the erlang vm that makes concurrency and queues a trivial problem in my opinion.

Absolutely wonderful ecosystem.

I've been wanting to make Gleam my primary language, but I fear LLMs have frozen programming language advancement and adoption for anything past 2021.

But I am hopeful that Gleam has slid just under the closing door and LLMs will get up to speed on it fast.

◧◩
2. agos+Se[view] [source] 2025-12-13 18:52:08
>>bnchrc+56
the Erlang vm is called BEAM, not OTP. sadly, Gleam's implementation of OTP is not at the same level as Elixir's or Erlang.
◧◩◪
3. lpil+ji[view] [source] 2025-12-13 19:22:31
>>agos+Se
Gleam uses regular OTP, it doesn’t have a distinct OTP inspired framework. Source: I’m the author of Gleam.
◧◩◪◨
4. agos+Px2[view] [source] 2025-12-14 19:04:48
>>lpil+ji
hey, thanks for the clarification. I was under the impression that Gleam had a few shortcomings re: OTP, like missing APIs or the need to fall back to Erlang. Many people I know who work regularly with Elixir hold similar opinions - do you have any idea what happened there? Is there a lack of publicity for this support? Is it a documentation problem?
◧◩◪◨⬒
5. lpil+wR2[view] [source] 2025-12-14 21:15:31
>>agos+Px2
I presume they checked out Gleam years ago, or their investigation was more shallow.

That aside, it is normal in Elixir to use Erlang OTP directly. Neither Elixir nor Gleam provides an entirely alternative API for OTP. It is a strength that BEAM languages call each other, not a weakness.

[go to top]