Gleam
ELI5 — The Vibe Check
Gleam is the friendly functional language that runs on the BEAM (Erlang's VM) but with real types and great error messages. It's like Elixir went to TypeScript school and came back with a type system that actually helps.
Real Talk
A statically-typed functional programming language that compiles to Erlang (BEAM) and JavaScript. Gleam features type inference, exhaustive pattern matching, no null values, and leverages the BEAM's legendary concurrency and fault tolerance while providing compile-time type safety.
Show Me The Code
pub fn greet(name: String) -> String {
"Hello, " <> name <> "!"
}
pub fn double_evens(numbers: List(Int)) -> List(Int) {
numbers
|> list.filter(fn(n) { n % 2 == 0 })
|> list.map(fn(n) { n * 2 })
}
When You'll Hear This
"Gleam gives you BEAM reliability with actual type safety — it's the best of both worlds." / "The Gleam compiler has the friendliest error messages I've ever seen."
Related Terms
Elixir
Elixir is like Ruby's syntax mated with Erlang's superpower: millions of tiny processes running independently, each with their own memory.
Elm
Elm is the language that promises zero runtime exceptions in your frontend code.
Erlang
Erlang was built by a telecom company in the 80s to handle phone calls that must never drop.
Rust
Rust is a compiled systems programming language obsessed with memory safety.