<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dishan Sachin</title><link>https://skdishansachin.com/</link><description>Just trying to understand how things work.</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://skdishansachin.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Let's do some bit masking</title><link>https://skdishansachin.com/2026/lets-do-some-bit-masking/</link><pubDate>Thu, 23 Jul 2026 00:00:00 +0000</pubDate><guid>https://skdishansachin.com/2026/lets-do-some-bit-masking/</guid><description>&lt;p&gt;Bit masking, it sounds complicated but it&amp;rsquo;s not. It&amp;rsquo;s just working with individual bits inside a number. If you know what a byte is but have never touched bits, that&amp;rsquo;s what we are going to do today. By the end hopefully you&amp;rsquo;ll be able to check, set, clear, and toggle any bit in a number.&lt;/p&gt;
&lt;h2 id="what-is-a-bit"&gt;What is a bit?&lt;/h2&gt;
&lt;p&gt;A bit is the smallest piece of data a computer has. It&amp;rsquo;s either &lt;code&gt;0&lt;/code&gt; or &lt;code&gt;1&lt;/code&gt;. That&amp;rsquo;s it. Everything your computer does every character on screen, every file is stored as sequences of bits.&lt;/p&gt;</description><category>bit-manipulation</category><category>zig</category><category>fundamentals</category></item><item><title>Building an HTTP Server from Scratch</title><link>https://skdishansachin.com/2026/building-an-http-server-from-scratch/</link><pubDate>Mon, 13 Jul 2026 00:00:00 +0000</pubDate><guid>https://skdishansachin.com/2026/building-an-http-server-from-scratch/</guid><description>&lt;p&gt;Let&amp;rsquo;s built an HTTP server from scratch using only Zig&amp;rsquo;s standard library. Just TCP, threads, and the spec. This post goes deep on the four ideas that make it work - parsing requests, building responses, serving static files, and handling connections. I&amp;rsquo;ll show the important code and link to the full source so you can &lt;strong&gt;read the rest yourself&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Source is written in Zig, so I assume you have some knowledge of Zig but it&amp;rsquo;s not mandatory you can still read thought to understand the concepts. I recommend following along with the code as you read, the explanations here give you the idea, the source gives you the details.&lt;/p&gt;</description><category>zig</category><category>networking</category><category>http</category></item></channel></rss>