<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Software Design on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/categories/software-design/</link>
    <description>Recent content in Software Design on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 10 Aug 2026 21:00:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/categories/software-design/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Cellular Automata From First Principles 57: Build a Cellular Automata Laboratory</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-57/</link>
      <pubDate>Mon, 10 Aug 2026 21:00:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-57/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-57-build-a-cellular-automata-laboratory&#34;&gt;Cellular Automata From First Principles 57: Build a Cellular Automata Laboratory&lt;/h1&gt;&#xA;&lt;p&gt;We now have enough pieces to stop thinking in terms of isolated scripts.&lt;/p&gt;&#xA;&lt;p&gt;A useful cellular-automata laboratory should let us define, run, measure, replay and visualize experiments across many kinds of automata without hiding the mechanisms we spent the whole book learning.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;the-laboratory-is-not-the-model&#34;&gt;The laboratory is not the model&lt;/h2&gt;&#xA;&lt;p&gt;Keep these concerns separate:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;model definition&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;execution backend&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;experiment configuration&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;metrics&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;artifacts&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;analysis&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A rule should not know where its PNG is saved.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 53: Build a Reusable Cellular Automata Engine</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-53/</link>
      <pubDate>Mon, 10 Aug 2026 20:56:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-53/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-53-build-a-reusable-cellular-automata-engine&#34;&gt;Cellular Automata From First Principles 53: Build a Reusable Cellular Automata Engine&lt;/h1&gt;&#xA;&lt;p&gt;Across this book we repeatedly rebuilt the same pieces:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;state&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;neighborhood&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rule&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;step loop&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;measurements&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rendering&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That repetition was useful while learning.&lt;/p&gt;&#xA;&lt;p&gt;Now it is time to turn those concepts into interfaces.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;keep-the-engine-small&#34;&gt;Keep the engine small&lt;/h2&gt;&#xA;&lt;p&gt;A useful engine does not need to know what Conway&amp;rsquo;s Life, Lenia or an NCA is.&lt;/p&gt;&#xA;&lt;p&gt;It only needs to orchestrate state transitions.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
