A friendly language for building type-safe systems that scale
open sourceApache-2.0free
Gleam is a statically typed functional language for the Erlang virtual machine (BEAM) and JavaScript runtimes. It has no null values and no exceptions, and its compiler gives clear error messages; on the BEAM it gets actor-based concurrency with millions of green threads and a concurrent garbage collector, and it can call Erlang and Elixir code and use their packages from Hex. It can also compile to JavaScript for the browser or any JavaScript runtime, generating TypeScript definitions. The gleam program bundles the compiler, build tool, formatter, editor integrations and package manager. Created by Louis Pilfold, it's a community project funded by sponsors, Apache-2.0.
Libraries for Elixir and Erlang
View 5 more
Browse all of them: 15 libraries, 3 frameworks, 11 APIs.
Problems it solves
- a statically typed language for the Erlang VM with friendly compiler errors
- write fault-tolerant concurrent services without null pointer errors or exceptions
- use the BEAM's actors and lightweight processes from a type-safe language
- one functional language for both my backend and my browser front end
- a simple functional language with a small syntax that's quick to learn
- call existing Erlang and Elixir libraries from typed code
- a language whose toolchain includes the formatter, build tool and package manager out of the box
Features
- static type system with no null values and no exceptions
- compiles to the Erlang VM and to JavaScript, with TypeScript definitions
- actor-based concurrency with millions of green threads on the BEAM
- interoperates with Erlang and Elixir code and Hex packages
- compiler, build tool, formatter, editor integrations and package manager in one program
- clear compiler error messages
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Gleam does.
- Elixir Simple from zero to scale
- Unison A friendly programming language from the future
- Crystal A language for humans and computers
- Elm A delightful language for reliable webapps
- Erlang Practical functional programming for a parallel world
- OCaml An industrial-strength functional programming language with an emphasis on expressiveness and safety