<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Software Development on Peter Truchly</title><link>https://peter.truchly.eu/categories/software-development/</link><description>Recent content in Software Development on Peter Truchly</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 13 Sep 2026 00:00:00 +0200</lastBuildDate><atom:link href="https://peter.truchly.eu/categories/software-development/index.xml" rel="self" type="application/rss+xml"/><item><title>Old-School Graphics in C# / .Net 10, Part 3: Hidden Treasures of Old Games</title><link>https://peter.truchly.eu/p/old-school-graphics-part-3-hidden-treasures-of-old-games/</link><pubDate>Mon, 03 Aug 2026 00:00:00 +0200</pubDate><guid>https://peter.truchly.eu/p/old-school-graphics-part-3-hidden-treasures-of-old-games/</guid><description>&lt;img src="https://peter.truchly.eu/p/old-school-graphics-part-3-hidden-treasures-of-old-games/banner_hu_941c198bc69d7b97.png" alt="Featured image of post Old-School Graphics in C# / .Net 10, Part 3: Hidden Treasures of Old Games" /&gt;&lt;p&gt;Some of the games I loved on my 386 never got a source release. The companies moved on, the toolchains died, and what remains is a couple of hundred kilobytes of 16-bit machine code on a floppy image. For years I assumed that really &lt;strong&gt;understanding&lt;/strong&gt; one of these games - not just running it in DOSBox, but opening it up, seeing how it ticks, and maybe even improving it - was a job for someone with infinite patience and a decade of spare time.&lt;/p&gt;</description></item><item><title>Why LLM chat feels like an anti-pattern in 2026</title><link>https://peter.truchly.eu/p/why-llm-chat-feels-like-an-anti-pattern/</link><pubDate>Fri, 24 Jul 2026 00:00:00 +0200</pubDate><guid>https://peter.truchly.eu/p/why-llm-chat-feels-like-an-anti-pattern/</guid><description>&lt;img src="https://peter.truchly.eu/p/why-llm-chat-feels-like-an-anti-pattern/banner-b11_hu_ad8fcce89afb12da.png" alt="Featured image of post Why LLM chat feels like an anti-pattern in 2026" /&gt;&lt;p&gt;&lt;em&gt;A continuation of my previous article, &lt;a class="link" href="https://peter.truchly.eu/p/what-is-better-than-your-ai-loop/" &gt;What is better than your AI loop?&lt;/a&gt;, which introduced the blackboard architecture this post builds on.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The &lt;strong&gt;chat&lt;/strong&gt;. The message-response chain you produce by typing with an LLM. It could be trivially implemented by a single growing context or a sliding window.&lt;/p&gt;&#10;&lt;p&gt;Why does it feel like an anti-pattern to me? Chat as a UI is fine, chat as a world model is not.&lt;/p&gt;</description></item><item><title>What is better than your AI loop?</title><link>https://peter.truchly.eu/p/what-is-better-than-your-ai-loop/</link><pubDate>Mon, 06 Jul 2026 00:00:00 +0200</pubDate><guid>https://peter.truchly.eu/p/what-is-better-than-your-ai-loop/</guid><description>&lt;img src="https://peter.truchly.eu/p/what-is-better-than-your-ai-loop/cover_hu_3c3546198588fe5c.png" alt="Featured image of post What is better than your AI loop?" /&gt;&lt;p&gt;There is a continuation of this article, &lt;a class="link" href="https://peter.truchly.eu/p/why-llm-chat-feels-like-an-anti-pattern/" &gt;Why LLM chat feels like an anti-pattern in 2026?&lt;/a&gt;, which shows the blackboard architecture in action.&lt;/p&gt;&#10;&lt;p&gt;A blackboard architecture, modernized with event sourcing, content-addressed knowledge source (KS) firing and a few more enhancements.&lt;/p&gt;&#10;&lt;p&gt;While working on improvements to various LLM-powered components and subsystems over the past year, I noticed I kept converging on the same architecture — one that, as I later found out, had been described and named four decades ago.&lt;/p&gt;</description></item><item><title>Fast Memory Copying in C#/.NET (Cache, AVX, Threads, Unsafe, Alternatives)</title><link>https://peter.truchly.eu/p/fast-memory-copying-in-csharp/</link><pubDate>Fri, 20 Dec 2024 00:00:00 +0100</pubDate><guid>https://peter.truchly.eu/p/fast-memory-copying-in-csharp/</guid><description>&lt;img src="https://peter.truchly.eu/p/fast-memory-copying-in-csharp/cover_hu_3f8d3b6539b2c16a.png" alt="Featured image of post Fast Memory Copying in C#/.NET (Cache, AVX, Threads, Unsafe, Alternatives)" /&gt;&lt;p&gt;Numerous &lt;strong&gt;copy routine&lt;/strong&gt; implementations are readily available in .NET. If I were to simply list them alongside a few benchmark numbers and charts, it wouldn&amp;rsquo;t make for a very interesting article.&lt;/p&gt;&#10;&lt;p&gt;&amp;#x26a0;&amp;#xfe0f; What if I told you upfront that &lt;strong&gt;none&lt;/strong&gt; of these routines &lt;strong&gt;is designed to be the absolute fastest&lt;/strong&gt;?&lt;/p&gt;&#10;&lt;p&gt;If you&amp;rsquo;re interested in a basic comparison, I recommend checking out this article here on &lt;a class="link" href="https://dev.to/j0nimost/what-is-the-best-way-to-copy-an-array-1ch4" target="_blank" rel="noopener"&#10; &gt;dev.to: What is the best way to copy an array?&lt;/a&gt; or a more detailed, older comparison: &lt;a class="link" href="https://code4k.blogspot.com/2010/10/high-performance-memcpy-gotchas-in-c.html" target="_blank" rel="noopener"&#10; &gt;High performance memcpy gotchas in C#&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Old-School Graphics in C# / .Net 8, Part 2: Fireworks and Advanced Vector Extensions (AVX, SSE)</title><link>https://peter.truchly.eu/p/old-school-graphics-part-2-fireworks-avx-sse/</link><pubDate>Wed, 20 Nov 2024 00:00:00 +0100</pubDate><guid>https://peter.truchly.eu/p/old-school-graphics-part-2-fireworks-avx-sse/</guid><description>&lt;img src="https://peter.truchly.eu/p/old-school-graphics-part-2-fireworks-avx-sse/banner-fw2d_hu_611a8b301587660.png" alt="Featured image of post Old-School Graphics in C# / .Net 8, Part 2: Fireworks and Advanced Vector Extensions (AVX, SSE)" /&gt;&lt;p&gt;There&amp;rsquo;s something uniquely captivating about revisiting the passions of our past. I still remember the countless hours spent tinkering with code on my old 386 and 486 PCs, mesmerized by the magic of pixels coming to life on the screen. The simplicity of those days, where an array of pixels and a spark of imagination were all you needed, still holds a special place in my heart. Inspired by that nostalgia, I decided to breathe new life into one of my early projects - a 2D firework simulation - using modern tools and techniques. I am using &lt;a class="link" href="https://github.com/VasilijP/mode-13hx" target="_blank" rel="noopener"&#10; &gt;Mode-13HX&lt;/a&gt; as a basis today, for more details please check my previous part: &lt;a class="link" href="https://peter.truchly.eu/p/old-school-graphics-part-1-mode-13hx/" &gt;Old-School Graphics in C# / .Net 8, Part 1&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Old-School Graphics in C# / .Net 8, Part 1: Teaching an Old Dog New Tricks (Introducing Mode 13hx)</title><link>https://peter.truchly.eu/p/old-school-graphics-part-1-mode-13hx/</link><pubDate>Wed, 13 Nov 2024 00:00:00 +0100</pubDate><guid>https://peter.truchly.eu/p/old-school-graphics-part-1-mode-13hx/</guid><description>&lt;img src="https://peter.truchly.eu/p/old-school-graphics-part-1-mode-13hx/cover_hu_def9f15da43960a5.png" alt="Featured image of post Old-School Graphics in C# / .Net 8, Part 1: Teaching an Old Dog New Tricks (Introducing Mode 13hx)" /&gt;&lt;p&gt;I began my journey with computers and programming during the era of 386 PCs, a time when DOS games ruled and sparked endless curiosity. I remember playing those games and wondering how they were created. It wasn’t long before I discovered Mode 13h - a graphics mode that perfectly fit within a 64kB page in 16-bit code, thanks to its 8 bits per pixel, 256-color palette, and 320×200 resolution.&lt;/p&gt;&#10;&lt;p&gt;Many years and APIs have passed since, but every now and then, I feel nostalgic for that simpler time. Back then, all we had was an array of pixels and an idea - and that was all we needed. I recall the breathtaking graphical demos that showcased incredible creativity, often categorized by their size. Some were only a few kilobytes but managed to display complex scenes with textures, geometry, animations, and even synchronized music.&lt;/p&gt;</description></item><item><title>Zen5 and C#</title><link>https://peter.truchly.eu/p/zen5-and-csharp/</link><pubDate>Tue, 17 Sep 2024 00:00:00 +0200</pubDate><guid>https://peter.truchly.eu/p/zen5-and-csharp/</guid><description>&lt;img src="https://peter.truchly.eu/p/zen5-and-csharp/banner1000-420_hu_ccd345d14dbce684.png" alt="Featured image of post Zen5 and C#" /&gt;&lt;p&gt;Zen 5 landed with a bit of controversy, but anyone Who was paying any attention to the real results wasn&amp;rsquo;t disappointed. Benchmarks done using more mature OSes (like Linux and Win10) and professional software shown its strengths.&#10;But hey, why should we trust just any 3rd party data if we can make a test by ourselves? I used Ryzen 9950x today and a bit of code to get things going.&lt;/p&gt;</description></item></channel></rss>