News for hackers. Stuff that matters.
Re:I Tried Gleam for Advent of Code, and I Get the Hype by innocentoldguy on Sunday December 14, 2025 @06:44PM (#46268413)
- No state machine behaviours. Gleam cannot do gen_statem.

- Limited OTP system messages. Gleam doesn't yet support all OTP system messages, so some OTP debugging messages are discarded by Gleam.

- Gleam doesn't have an equivalent of gen_event to handle event handlers.

- Gleam doesn't support DynamicSupervisor or the :simple_one_for_one for dynamically starting children at runtime.

Re:I Tried Gleam for Advent of Code, and I Get the Hype by worthless-trash on Wednesday December 17, 2025 @02:52AM (#46299314)
I didn't know about the statem limitation, I have howerver worked around it with gen server like wrapper, that way all state transitions were handled with gleams type system.

I have been meaning to ask about that on the discord but its one of the ten thousand things on my backlog.

Maybe i could write a gen_event equivalent.. I have some code which does very similar things.

Thank you for taking the time to respond.

Re:I Tried Gleam for Advent of Code, and I Get the Hype by innocentoldguy on Wednesday December 17, 2025 @03:13AM (#46299444)
You're welcome.

I'm sure at some point, Gleam will figure it all out.