#gleam

#gleam

1 note with this tag.

RSS Atom JSON Feed All Tags

Monday, November 9, 2026

didn't know gleam until today. nicolas chagnet's "you should try gleam" is a really friendly intro: a functional language with static types that runs on the BEAM (the erlang vm) and also compiles to javascript.

what got me is how little there is to it. no loops, no mutation, no methods, just pipes (|>), a use keyword that kills callback pyramids, and recursion with tail calls. he says about 80% of his gleam would compile as rust after some search and replace.

the part i liked most is about OTP. a lot of teams run a kubernetes cluster just to get supervised workers that restart when they crash, and the BEAM has done that inside a single vm for decades. you can even share the same types between the backend and the frontend.

he's honest about the downsides too: a small ecosystem, no macros, no big company pushing it. putting it on my weekend list.

https://nchagnet.eu/blog/you-should-try-gleam

Nicolas Chagnet's Homepage You should try Gleam Why a Rust developer might feel at home in Gleam, and where the BEAM is a different world.