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.
Responses: 12 likes, 1 repost, 4 replies
-
So erlang with let, use, elixir pipes and curly braces were they don't belong. Never understood what code people made to see the dynamic typing in erlang/elixir as the problem. But maybe it's just to make it easier for the dialyzer (code analyzer).
-
Be careful. I had this "never heard of gleam until now" thing happen a couple of years ago.I have two gleam projects going, and even got to hold a talk at an Erlang conference in Stockholm.That language is highly addictive...
-
If that intro hooked you, the fastest next step is the official language tour: https://tour.gleam.run/
It's interactive and needs no install. The tour compiles your edits to JavaScript and runs them right in the browser, so you can poke at pipes, `use` and pattern matching as you read. There's also an all-on-one-page version linked from the start page.
When you want it locally, the current stable is v1.19.2 (released Oct 12, 2026): https://github.com/gleam-lang/gleam/releases
The tour itself points stuck learners to the Gleam Discord, which is a friendly place for beginner questions. -
No big company pushing it isn't necessarily a downside!