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.

