<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: lpil</title><link>https://news.ycombinator.com/user?id=lpil</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 08 Oct 2026 04:08:33 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=lpil" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>No AST was ever used for that. Printing algebra was used in the past, and the new Erlang binary and textual generators both work by appending to a buffer. Your assertion that we need an AST has never been correct. From my point of view it would be wasteful and slow for the compiler to construct this AST just to then consume it to push bytes to a buffer.<p>RE punctuation, the book-keeping required for the binary format is no less work than for the textual format. All these formats are similarly easy to implement, though the ones that are not human readable are more challenging to debug.</p>
]]></description><pubDate>Wed, 07 Oct 2026 09:29:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=49990311</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49990311</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49990311</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>Right, and I’m explaining that my multiple years of experience teaching and helping newcomers that an expectation of similarity to Rust frequently results in difficulty, and that  it is beneficial to downplay any perceived link.</p>
]]></description><pubDate>Wed, 07 Oct 2026 09:21:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=49990245</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49990245</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49990245</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>The old one had an inferior implementation, but that is unrelated to the output format. We also have a new Erlang source code generator that is used predominantly in the compiler test suite, and it too is superior.</p>
]]></description><pubDate>Tue, 06 Oct 2026 21:20:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=49984321</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49984321</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49984321</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>This shows only the base syntax and has nothing of the language functionality, so is incapable of showing overlap between the languages.</p>
]]></description><pubDate>Tue, 06 Oct 2026 21:17:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=49984298</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49984298</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49984298</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>Yes, exactly my point! Being a Rust user doesn’t mean you are going to prefer or even understand Gleam.</p>
]]></description><pubDate>Tue, 06 Oct 2026 21:15:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=49984257</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49984257</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49984257</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>LFE used to compile to core Erlang, but it now also compiles to abstract forms.<p><a href="https://github.com/lfe/lfe/blob/387d0aa1092bdda0ca17481869e833b24f11971a/src/lfe_codegen.erl" rel="nofollow">https://github.com/lfe/lfe/blob/387d0aa1092bdda0ca17481869e8...</a><p><a href="https://github.com/lfe/lfe/blob/387d0aa1092bdda0ca17481869e833b24f11971a/src/lfe_translate.erl" rel="nofollow">https://github.com/lfe/lfe/blob/387d0aa1092bdda0ca17481869e8...</a></p>
]]></description><pubDate>Tue, 06 Oct 2026 17:28:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=49981557</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49981557</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49981557</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>The title says it no longer compiles to Erlang source. That's true, it now compiles to an IR of the Erlang compiler.</p>
]]></description><pubDate>Tue, 06 Oct 2026 17:21:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=49981483</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49981483</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49981483</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>Aye, I am saying that jumping from Rust to Gleam isn't easy because the languages are so different. "How do I do X in Gleam like I would in Rust" is one of the most common categories of support question from newcomers who assumed they were similar.<p>It can take a moment to understand that things are done quite differently in the two languages due to being so different: <a href="https://gleam.run/frequently-asked-questions/#How-does-Gleam-compare-to-Rust" rel="nofollow">https://gleam.run/frequently-asked-questions/#How-does-Gleam...</a></p>
]]></description><pubDate>Tue, 06 Oct 2026 16:57:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=49981143</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49981143</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49981143</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>The ML family clearly inspired Rust greatly, but the end result is very different.</p>
]]></description><pubDate>Tue, 06 Oct 2026 16:55:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49981114</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49981114</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49981114</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>For that sort of compilation target more flexibility is beneficial, so C, Wasm, LLVM IR, Cranelift IR etc are better than Go, Nim, and D in my opinion.<p>> cross portability/small binaries/fast compiled language which is fast to compile<p>You don't need native compilation to build fast single file executables for a program, there's ways one can achieve this with Gleam today. Bundling the BEAM into your Gleam application executable with something like Gleepack is one option, and this will produce smaller executables than Go will by default for many applications.</p>
]]></description><pubDate>Tue, 06 Oct 2026 16:09:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=49980547</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49980547</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49980547</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>It's very possible that I'm misunderstanding you! I'm mostly just saying that Gleam is very unlike Rust, so if you pick it or avoid it for Rust related reasons you may not be making the most informed decision.<p>The languages that Gleam is most like might be Standard ML, OCaml, Elm, and F#.</p>
]]></description><pubDate>Tue, 06 Oct 2026 15:35:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=49980073</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49980073</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49980073</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>I think a Rust programmer is more likely to prefer Gleam to Elixir, but I don't think there is much link between Gleam and Rust, and I especially do not thing that Gleam should only be considered over Elixir if you are already a Rust programmer.</p>
]]></description><pubDate>Tue, 06 Oct 2026 15:09:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=49979662</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49979662</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49979662</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>Surprisingly yes! JavaScript's allocator and garbage collection system is quite well suited to immutable programming.<p>Rust is a very poor compile target as the compiler is slow and not commonly available, and the aspects of Rust that make it good for humans to write make it a poor choice for compilers to target. With humans the produced code is verified, but with a compiler the compiler is what is to be verified, so the inflexibility of Rust are largely a hindrance compared to other native compilation targets.</p>
]]></description><pubDate>Tue, 06 Oct 2026 15:07:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=49979631</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49979631</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49979631</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>I don't think that's the case, Rust and Gleam have almost nothing in common beyond having static type systems, and those type systems are very different too.<p><a href="https://gleam.run/frequently-asked-questions/#How-does-Gleam-compare-to-Rust" rel="nofollow">https://gleam.run/frequently-asked-questions/#How-does-Gleam...</a></p>
]]></description><pubDate>Tue, 06 Oct 2026 14:57:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=49979484</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49979484</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49979484</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>Gleam is a simple functional programming language which leans into static typing , friendly tooling, and a one-way-to-do-it style. You'd want to use it if you enjoy the programming experience it provides.</p>
]]></description><pubDate>Tue, 06 Oct 2026 14:56:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=49979460</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49979460</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49979460</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>It's a general purpose programming language, like OCaml, Python, or Scheme. It's not intended for any specific business domain.</p>
]]></description><pubDate>Tue, 06 Oct 2026 14:54:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=49979437</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49979437</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49979437</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>JavaScript is useful in lots of places, and even if one compile target is especially good for in-browser user interfaces that doesn't mean that language is specifically intended for user interface development.</p>
]]></description><pubDate>Tue, 06 Oct 2026 14:53:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=49979412</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49979412</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49979412</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>Go's garbage collection isn't well suited for an immutable language like Gleam, so the performance would likely be disappointing compared to other targets.</p>
]]></description><pubDate>Tue, 06 Oct 2026 14:52:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=49979393</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49979393</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49979393</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>Gleam is not ostensibly intended for building user interfaces.</p>
]]></description><pubDate>Tue, 06 Oct 2026 13:42:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=49978366</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49978366</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49978366</guid></item><item><title><![CDATA[New comment by lpil in "Gleam doesn't compile to Erlang source anymore"]]></title><description><![CDATA[
<p>I don't think your "it is source as you can convert it back into source" argument holds water as all the Erlang formats can be decompiled into Erlang source code, including the final bytecode itself.<p>I think you're overthinking the cost of compiling to source, and also underestimating how common it is.</p>
]]></description><pubDate>Tue, 06 Oct 2026 13:41:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=49978343</link><dc:creator>lpil</dc:creator><comments>https://news.ycombinator.com/item?id=49978343</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49978343</guid></item></channel></rss>