mrkeyoor.comAsk

gleam-lang/gleamtested 06 Oct 2026commit 52e735c

gleam review

The October 6 compiler checkout built in 250 seconds, but 16 of 12,240 tests failed.

  • Install 22 s
  • Build 250 s
12,224/12,240passed, run exited non-zero
  • 508 packages
Dev Toolsevaluationupdated 12 Nov 2026
+50stars / 7d

Gleam is a programming language for type-safe systems. Its official website describes interoperability with Erlang and Elixir, compilation to JavaScript, and generated TypeScript definitions.

Verdict

The October 6 compiler checkout built in 250 seconds, but 16 of 12,240 tests failed. Contributors need the full failure output before assigning a cause. For application teams, a trial of one typed component is a reasonable next step if Erlang or Elixir interoperability, or JavaScript output, answers a specific need. Include the reported v1.19.2 bit-array case when evaluating code intended for both targets; this review did not reproduce it.

We ran it

Lab card: what happened when we ran gleam
Lab card from our sandbox run
Screenshot of gleam (gleam.run)
gleam.run
Install✓ · 22s508 packages
Build✓ · 250s
Tests✗ · 173s12224 passed · 16 failed of 12240 (cargo test)
Repo5323 files~242,068 lines of source · 11.4 MB · 5 CI workflows · tests dir

Answers from our run

Does gleam build from source?

Dependencies installed in 22 seconds (508 packages), and the build succeeded in 250 seconds. We cloned commit 52e735c into a clean Debian container with 3 CPUs and no project-specific setup.

Do gleam's tests pass?

No. The project's own test command finished in 173 seconds and reported 12224 passed, 16 failed (cargo test).

Who should not use gleam?

Teams requiring this measured compiler checkout to pass every test before starting work: the sandbox run recorded 16 failures.

What are the alternatives to gleam?

Elixir, Erlang/OTP. The October 6 compiler checkout built in 250 seconds, but 16 of 12,240 tests failed.

Setup3/5Our source checkout installed in 22 s and built in 250 s, a heavy install of 508 dependencies, and we did not run a README task.Editor’s note: Compiler installation and build completed, but application installation and runtime setup were not tested.
Docs2/5The 327-character README has no install instructions or usage instructions or examples.Editor’s note: The supplied README and website extracts do not establish the quality or completeness of the full documentation.
Community5/5Last push on 2026-11-11 and 22,065 stars.Editor’s note: The supplied issue does not establish adoption, support capacity or the quality of community responses.
Maturity4/5Latest release v1.19.2 on 2026-10-12, repository created 2016-06-30 and its test suite did not pass in our sandbox (12,224 of 12,240 passed).Editor’s note: The compiler run recorded failures, but deployed-service reliability and current cross-target behavior were not tested.

How we score

Discussed on

  1. hnGleam OTP – Fault Tolerant Multicore Programs with Actors197 points
  2. hnGleam v1.12166 points
  3. hnMy first experience with Gleam Language59 points
  4. hnGleam v1.3.0 Released10 points
  5. hnGleam v1.0.09 points

Who it’s for

Teams evaluating a typed component alongside existing Erlang or Elixir code.
Developers considering JavaScript output with generated TypeScript definitions.
Compiler contributors prepared to investigate the failed checks in the measured repository checkout.

Who it’s NOT for

Teams requiring this measured compiler checkout to pass every test before starting work: the sandbox run recorded 16 failures.
Projects requiring verified identical cross-target bit-array behavior: issue #6506 reports a difference on v1.19.2 that this review did not reproduce.
Existing applications without a specific reason to add another language: first identify the component and benefit you intend to evaluate.

Setup reality

The October 6, 2026 sandbox run at commit 52e735c installed 508 dependencies in 22 seconds and built successfully in 250 seconds. The test command failed with exit 101 after 173 seconds: 12,224 passed and 16 failed out of 12,240. The final suite summary in the supplied tail shows four passes and eight failures, so it covers only part of the aggregate result.

The recorded sandbox had 3 CPUs, 12 GB RAM and image label lab-rust:1. That label does not establish the actual Rust or operating-system version. The repository scan found five CI workflow files and a tests directory, without a Dockerfile.

These are compiler-repository measurements. Application installation, runtime setup and deployment were not tested. The supplied tail omits failure details, so the causes remain unresolved.

The October 6 Gleam compiler checkout built successfully, but its test command recorded 16 failures. That result gives contributors a concrete investigation to pursue. Application teams have a different question: whether one typed component fits their existing code and intended target.

Start with one component

Gleam's official website source describes interoperability with Erlang and Elixir. The website says Gleam can compile to JavaScript and generate TypeScript definitions.

Those capabilities suggest a bounded evaluation: choose a small component with clear inputs and outputs, inspect its generated interface, and check how the surrounding application calls it. This is a proposed adoption exercise, not an application integration tested for this review.

Write down the benefit before starting. If an existing application already meets the requirement, adding a language needs a specific justification. If the component must run on both targets, include behavior checks on each target in the trial.

What happened when we ran it

The sandbox run used commit 52e735c on October 6, 2026. Installation recorded 508 dependencies and completed in 22 seconds. The compiler build succeeded in 250 seconds. The test command then failed after 173 seconds with exit 101, recording 12,224 passes and 16 failures out of 12,240 tests.

The recorded configuration had 3 CPUs, 12 GB RAM and image label lab-rust:1. The checkout contained 5,323 files, approximately 242,068 source lines and 11.4 MB. These figures describe the compiler repository; they do not measure application compilation speed or deployed-service resource use.

Several suites in the supplied log tail passed. Its final suite summary shows four passes and eight failures, followed by the rerun hint -p test-commands --lib. Those eight failures are only part of the aggregate 16. The tail omits the failed assertions and exceptions, so it cannot establish whether an environment requirement or compiler defect caused the failures. Obtain the full output and inspect the indicated package before drawing that conclusion.

The repository scan found five CI workflow files and a tests directory, without a Dockerfile. This does not establish a passing upstream CI result. Reproduction also requires the actual toolchain versions, which the sandbox image label does not supply.

A reported target difference to check

In issue #6506, the reporter places a function that panics inside a zero-width bit-array segment. The reported JavaScript run continues and prints 42, while the Erlang run panics. The report identifies Gleam v1.19.2.

Issue #6506 reports that a zero-width bit-array segment skips evaluation on JavaScript. This is the reporter's reproduction, not a result from our sandbox. It gives teams using bit arrays across targets a specific case to check, but it does not establish that cross-target code generally behaves differently.

The supplied latest-release metadata identifies v1.19.2 as published on October 12, 2026. The issue was opened on November 10. Both postdate the October 6 measured checkout, so the report cannot explain that checkout's test failures without further evidence.

When to retain Elixir or Erlang

Elixir's README describes it as a language designed for scalable, maintainable applications. Keep Elixir when an existing application meets the requirement and there is no clear benefit from adding Gleam.

Erlang/OTP combines the Erlang language and runtime with OTP libraries and design principles. Choose it when the team wants to work directly in Erlang and OTP.

These recommendations concern the proposed language boundary. This review contains no comparative performance, hiring or ecosystem-size measurements.

What we have not tested

The supplied run built and tested the compiler checkout. It did not test a deployed Gleam service, editor behavior, application interoperability, generated TypeScript interfaces or the issue's cross-target example. Package suitability, operational reliability and comparative performance remain unassessed.

For contributors, the next step is to inspect the full failure output. For application teams, choose one component, identify its required dependencies and target, and exercise its actual inputs before expanding the trial.

Alternatives

ProjectWhat it isPick it when
Elixir gh↗A programming language designed for scalable, maintainable applications.Keep Elixir when an existing Elixir application meets the requirement and the proposed Gleam component has no clear benefit.
Erlang/OTPThe Erlang language and runtime with OTP libraries and design principles.Choose Erlang/OTP when the team wants to work directly in Erlang and OTP rather than introduce Gleam.

What people are saying

  1. [hackernews] Try Gleam
  2. [lobsters] Gleam case exhaustiveness, as a fan

Sources

  1. Gleam official website source
  2. Cross-target bit-array report #6506
  3. Elixir README
  4. Erlang/OTP README
  5. Gleam repository and README
  6. Gleam latest release metadata

More dev tools reviews