<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Concurrency on brtkwr.com</title><link>https://brtkwr.com/tags/concurrency/</link><description>Recent content in Concurrency on brtkwr.com</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 20 Apr 2026 01:00:00 +0000</lastBuildDate><atom:link href="https://brtkwr.com/tags/concurrency/index.xml" rel="self" type="application/rss+xml"/><item><title>What makes Go channels special</title><link>https://brtkwr.com/posts/2026-04-20-what-makes-go-channels-special/</link><pubDate>Mon, 20 Apr 2026 01:00:00 +0000</pubDate><guid>https://brtkwr.com/posts/2026-04-20-what-makes-go-channels-special/</guid><description>&lt;h2 id="tldr">
 TL;DR
 &lt;a class="heading-link" href="#tldr">
 &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>A Go channel is one primitive covering what other languages split across locks, condition variables, semaphores, and queues. That consolidation is the thread I kept pulling on while reading.&lt;/p>
&lt;h2 id="motivation">
 Motivation
 &lt;a class="heading-link" href="#motivation">
 &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>Channels come up in every Go pitch. I wanted to understand why.&lt;/p>
&lt;h2 id="what-a-channel-actually-is">
 What a channel actually is
 &lt;a class="heading-link" href="#what-a-channel-actually-is">
 &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>In most languages you get shared memory plus coordination tools: mutexes for exclusion, condition variables for waiting, semaphores for counting, queues for handoff. Synchronisation and data are separate problems with separate primitives.&lt;/p></description></item></channel></rss>