<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Compiler on Allanderek&#39;s blog</title>
    <link>https://blog.poleprediction.com/tags/compiler/</link>
    <description>Recent content in Compiler on Allanderek&#39;s blog</description>
    <language>en-us</language>
    <lastBuildDate>Mon, 05 Oct 2026 16:18:48 +0000</lastBuildDate>
    <atom:link href="https://blog.poleprediction.com/tags/compiler/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Link: Elm has a new compiler written in Rust</title>
      <link>https://blog.poleprediction.com/posts/link-elm-has-a-new-compiler/</link>
      <pubDate>Mon, 05 Oct 2026 16:18:48 +0000</pubDate>
      <guid>https://blog.poleprediction.com/posts/link-elm-has-a-new-compiler/</guid>
      <description>&lt;p&gt;Martin from &lt;a href=&#34;https://spottt.fr/&#34;&gt;Spottt&lt;/a&gt; has written an &lt;a href=&#34;https://medium.com/@martin_42380/an-ai-agent-rewrote-the-elm-compiler-in-rust-in-five-days-0a2ffc3a1cef&#34;&gt;article about their new Elm compiler written in Rust&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The article details the reason for their decision to rewrite the Elm compiler in Rust, basically build times:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Elm 0.19.2 made builds much faster for many projects, but not for ours: our application is probably an outlier for the Haskell compiler.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I wonder if they have the same issue that we had at Pakk, which I realise now I never blogged about before. Our issue was the use of large record types.
The Elm compiler expands these record types and crucially stores that expanded type in the incremental build files &lt;code&gt;.elmi&lt;/code&gt; and &lt;code&gt;.elmo&lt;/code&gt;. That meant that these files became very large, and it was the parser of these files that was taking a long time in the compilation. That was why even for an incremental build the compiler would still sometimes take a long time. We had a simple script to find large &lt;code&gt;.elmi&lt;/code&gt; files:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
