<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bavana Balakrishnan on Medium]]></title>
        <description><![CDATA[Stories by Bavana Balakrishnan on Medium]]></description>
        <link>https://medium.com/@bavanab890?source=rss-4d90a5ecb2b1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*m8AsGazmuaR41xQO</url>
            <title>Stories by Bavana Balakrishnan on Medium</title>
            <link>https://medium.com/@bavanab890?source=rss-4d90a5ecb2b1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 14:41:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bavanab890/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[“The only constant is change.” — Heraclitus]]></title>
            <link>https://medium.com/@bavanab890/the-only-constant-is-change-heraclitus-6cc103eda7cb?source=rss-4d90a5ecb2b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cc103eda7cb</guid>
            <dc:creator><![CDATA[Bavana Balakrishnan]]></dc:creator>
            <pubDate>Sun, 01 Feb 2026 12:54:00 GMT</pubDate>
            <atom:updated>2026-02-03T15:51:52.516Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>“The only constant is change.” — Heraclitus</strong></p><p><strong>The Death of Determinism: Why Modern OS Behavior Is No Longer Predictable</strong><br> Predictable behavior in operating systems used to be common. Today, it is not. When you run a program, many things happen at once.<br> It reads a file, updates data, creates threads, and runs alongside many other programs. The exact order of these actions is often unknown.Why? Because modern systems depend on many factors:</p><ul><li>CPU scheduling</li><li>Cache behavior</li><li>Instruction reordering</li><li>Interrupts</li><li>Timing differences measured in nanoseconds</li></ul><p>Even a tiny timing change can lead to different results. This is where <strong>race conditions</strong> occur. Two threads access the same memory at the same time.<br> Whichever one runs first changes the outcome. Sometimes the program works correctly. Sometimes it fails. This is not always due to a coding mistake — it is a result of how modern systems work.</p><p>Modern CPUs do not execute instructions strictly in the order written.<br> They reorder operations to improve performance.<br> This can cause memory updates to appear out of order to other threads.<br> As a result, programs can behave unpredictably unless special care is taken.</p><p>Memory models in modern systems are <strong>weak</strong>. Compilers, CPUs, and caches all make independent optimizations. Without synchronization tools like locks, memory barriers, and atomic operations, programs cannot rely on a fixed execution order.</p><p>Despite all this complexity, the operating system hides most of it.<br> Music plays smoothly. Applications respond. Typing feels instant. But sometimes the illusion breaks:</p><ul><li>The interface freezes</li><li>Audio stutters</li><li>Downloads pause</li></ul><p>These happen because context switching, cache misses, and pipeline resets are costly.</p><p>Why does this happen? Because performance is the priority.<br> Modern systems favor speed and efficiency over strict predictability. Programmers must adapt. They synchronize threads, follow memory rules, and design systems that tolerate uncertainty. Perfect predictability is no longer possible — only careful management.</p><p>Determinism is no longer guaranteed. Parallelism and multitasking are carefully managed illusions. Modern computing operates on probabilities and timing, not fixed order.</p><p>And yet, most of the time, it works.</p><p><strong>“Expect the unexpected, and you will not be disappointed.” — Proverb</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cc103eda7cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>