{
  "id": 12467724,
  "title": "Gleam doesn't compile to Erlang source anymore",
  "url": "https://urgent.news/2026/10/06/gleam-doesnt-compile-to-erlang-source-anymore-12467724",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-06T08:08:20.000Z",
  "source": {
    "name": "Hacker News Best",
    "slug": "hacker-news-best",
    "url": "https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/"
  },
  "original_language": "en",
  "account": "Gleam, a type-safe and scalable language for the Erlang virtual machine and JavaScript runtimes, has released version 1.19.0. The most significant update is the replacement of the Erlang code generator with a new design that outputs Erlang abstract forms instead of Erlang source code. This change brings several benefits, including improved compiler performance, accurate line numbers in crash reports and stacktraces, and enhanced code-quality.\n\nA benchmark comparing Gleam's compilation times to other languages like Erlang, Elixir, and JavaScript was conducted using José Valim's langcompilebench project. The results showed a considerable improvement in Gleam's compilation speed after updating to version 1.19.0. However, it is essential to note that this benchmark is contrived and should not be the sole factor in evaluating a language's performance.\n\nThe shift to Erlang abstract forms is a cost-benefit sweet-spot for Gleam, considering the language's community-driven nature and the financial constraints faced by its developers. This decision also aligns with Elixir, which has successfully compiled to Erlang abstract forms. Gleam's continued development and success rely on efficient resource allocation, making the compiled Erlang abstract form the optimal choice at present.",
  "summary": "Article URL: https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/ Comments URL: https://news.ycombinator.com/item?id=49975619 Points: 256 # Comments: 103",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}