Gleam
Functional, concurrent. First appeared 2019; ml and functional; networked services and web backends on the beam.
Record¶
| First appeared | 2019 |
|---|---|
| Family | ML and functional |
| Paradigm emphasis | Functional, concurrent |
| Typing | Static, strong, inferred |
| Memory | Per-process GC |
| Execution | Compiled to Erlang or JavaScript |
| Primary domain | Networked services and web backends on the BEAM |
| Designers | Louis Pilfold |
| Reference | https://gleam.run/documentation/ |
| Last verified | not yet checked against its source by a human |
Dates are first public release or publication, not the start of internal development. Colour on the typing and memory tags encodes kind, never rank.
Influence¶
Within the ML and functional¶
Algebraic data types, exhaustive pattern matching, and inference-driven typing. The source of most type-system features adopted by mainstream languages since 2010.
| Language | First appeared | Typing | Memory | Execution |
|---|---|---|---|---|
| ML | 1973 | Static, strong, inferred | Tracing GC | Compiled or interpreted |
| Erlang | 1986 | Dynamic, strong | Per-process GC | Bytecode VM (BEAM) |
| Haskell | 1990 | Static, strong, inferred | Tracing GC | AOT compiled |
| OCaml | 1996 | Static, strong, inferred | Generational GC | AOT compiled or bytecode |
| F# | 2005 | Static, strong, inferred | Tracing GC (.NET) | Bytecode + JIT |
| Elixir | 2012 | Dynamic, strong | Per-process GC | Bytecode VM (BEAM) |
| Unison | 2020 | Static, strong, inferred | Tracing GC | Interpreted or compiled |
7 other languages in this family, ordered by first appearance. Gleam itself is omitted. Source: languages.json.