<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C on czerminski.me</title><link>https://czerminski.me/tags/c/</link><description>Recent content in C on czerminski.me</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 13 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://czerminski.me/tags/c/index.xml" rel="self" type="application/rss+xml"/><item><title>Anatomy of a Timing Wheel: Design Decisions Behind a Scheduler in C</title><link>https://czerminski.me/posts/cog-timing-wheel-design/</link><pubDate>Mon, 13 Jul 2026 00:00:00 +0000</pubDate><guid>https://czerminski.me/posts/cog-timing-wheel-design/</guid><description>&lt;h1 id="anatomy-of-a-timing-wheel-design-decisions-behind-a-scheduler-in-c">
 Anatomy of a Timing Wheel: Design Decisions Behind a Scheduler in C
 &lt;a class="heading-link" href="#anatomy-of-a-timing-wheel-design-decisions-behind-a-scheduler-in-c">
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading">&lt;/i>
 &lt;span class="sr-only">Link to heading&lt;/span>
 &lt;/a>
&lt;/h1>
&lt;h2 id="why-c">
 Why C?
 &lt;a class="heading-link" href="#why-c">
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading">&lt;/i>
 &lt;span class="sr-only">Link to heading&lt;/span>
 &lt;/a>
&lt;/h2>
&lt;p>I wanted to actually learn C, not just read about it. Toy katas don&amp;rsquo;t force
you to confront the things that matter — manual memory management, undefined
behavior, and the discipline of running everything under ASan/UBSan/valgrind
because the compiler alone won&amp;rsquo;t save you. So I picked a real, self-contained
project instead: &lt;a href="https://github.com/tczerminski/cog" class="external-link" target="_blank" rel="noopener">&lt;code>cog&lt;/code>&lt;/a>, a hierarchical
timing wheel.&lt;/p></description></item></channel></rss>