<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Go on Graeme Newlands</title><link>https://graemenewlands.com/tags/go/</link><description>Recent content in Go on Graeme Newlands</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 05 Oct 2026 19:48:00 -0700</lastBuildDate><atom:link href="https://graemenewlands.com/tags/go/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a Rete algorithm based Rule Engine in Golang</title><link>https://graemenewlands.com/posts/building-a-rete-algorithm-based-rule-engine-in-golang/</link><pubDate>Mon, 05 Oct 2026 19:48:00 -0700</pubDate><guid>https://graemenewlands.com/posts/building-a-rete-algorithm-based-rule-engine-in-golang/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: Generated by Me!&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;The motivation of this personal initiative was this post from Anthropic: &lt;a href="https://www.anthropic.com/engineering/building-c-compiler"&gt;Building a C Compiler&lt;/a&gt;. Nicholas Carlini of Anthropic wrote this post before we saw even more significant initiatives such as solving &lt;a href="https://openai.com/index/navier-stokes-solution/"&gt;Navier-Stokes&lt;/a&gt; and the OpenAI &lt;a href="https://openai.com/index/hugging-face-incident-and-the-road-ahead/"&gt;breakout&lt;/a&gt;. To me, this was the first example of using swarms of agents to complete a task, rather than single process model SDLCs, and also a task I&amp;rsquo;d imagined would not be one independently achievable by AI.&lt;/p&gt;</description></item><item><title>Building OPS5 in Go: Implementing the Rete Algorithm from Scratch</title><link>https://graemenewlands.com/posts/building-ops5-in-go/</link><pubDate>Thu, 24 Sep 2026 00:00:00 -0700</pubDate><guid>https://graemenewlands.com/posts/building-ops5-in-go/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: Generated by AI, Gemini 3.8 through Antigravity&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;hr&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Work in Progress&lt;/strong&gt;: &lt;em&gt;This post is an evolving engineering log and retrospective on designing and implementing a pure Go OPS5 production rule engine from the ground up.&lt;/em&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="the-genesis-why-ops5-and-why-go"&gt;The Genesis: Why OPS5 and Why Go?&lt;/h2&gt;&#10;&lt;p&gt;In the late 1970s and early 1980s, Charles Forgy at Carnegie Mellon University developed &lt;strong&gt;OPS5&lt;/strong&gt; (&lt;em&gt;Official Production System 5&lt;/em&gt;) alongside the &lt;strong&gt;Rete algorithm&lt;/strong&gt;. It became the intellectual cornerstone of expert systems, forward-chaining rule engines, and declarative knowledge representation.&lt;/p&gt;</description></item><item><title>Conway's Game of Life in OPS5: Declarative Cellular Automata in WebAssembly</title><link>https://graemenewlands.com/posts/conways-game-of-life-in-ops5/</link><pubDate>Thu, 24 Sep 2026 00:00:00 -0700</pubDate><guid>https://graemenewlands.com/posts/conways-game-of-life-in-ops5/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: Generated by AI, Gemini 3.8 through Antigravity&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;hr&gt;&#10;&lt;p&gt;Cellular automata like John Conway&amp;rsquo;s &lt;strong&gt;Game of Life&lt;/strong&gt; are almost universally taught and implemented imperatively: allocate a two-dimensional grid array, iterate over every row and column with nested &lt;code&gt;for&lt;/code&gt; loops, count the 8 Moore neighbors, and write the next state to a backbuffer.&lt;/p&gt;&#10;&lt;p&gt;Following my recent work building &lt;a href="https://github.com/graemenewlands/ops5"&gt;&lt;strong&gt;&lt;code&gt;ops5&lt;/code&gt; in Go&lt;/strong&gt;&lt;/a&gt; (and the deep dive in &lt;a href="https://graemenewlands.com/posts/building-ops5-in-go/"&gt;&lt;em&gt;Building OPS5 in Go: Implementing the Rete Algorithm from Scratch&lt;/em&gt;&lt;/a&gt;), I wanted to put the engine through its paces with something visually tangible, reactive, and non-trivial:&lt;/p&gt;</description></item></channel></rss>