[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-gleam-1170-adds-singlefile-escript-output":10},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":22,"tags":24,"sources":28,"feedback":32,"feedback_at":22,"cost_usd":32,"total_tokens":32},248,"gleam-1170-adds-singlefile-escript-output","Gleam 1.17.0 adds single‑file escript output","The latest Gleam release lets developers compile BEAM programs into a single portable executable, simplifying deployment.","Gleam 1.17.0 now produces a self‑contained escript file that bundles the compiled BEAM code and the Erlang runtime.\n\nThe update modifies the compiler to emit a single‑file script that can be run directly with the standard `escript` command. Existing projects continue to work unchanged; the new mode is optional and activated with a flag. The release also includes minor bug fixes and library updates, but the single‑file capability is the headline feature.\n\nDeploying Gleam apps becomes easier because there’s no need to ship separate BEAM files or manage a full Erlang\u002FOTP installation. Teams can drop the script onto a server and run it, which is especially useful for CI pipelines and lightweight services.\n\nIt’s a modest convenience bump, not a rewrite of the toolchain, but it does close a long‑standing gap between Gleam’s functional model and typical deployment workflows.","[\"gleam\",\"programming-languages\",\"beam\"]","2026-06-02T22:16:20.000Z","2026-06-02T22:45:31.546Z","2026-06-05T16:22:29.764Z","published",null,[],[25,26,27],"gleam","programming-languages","beam",[29],{"name":30,"url":31},"Hacker News","https:\u002F\u002Fgleam.run\u002Fnews\u002Fsingle-file-gleam-beam-programs-with-escript\u002F",0]